Jump to content

[DemoN]

Members
  • Content Count

    85
  • Joined

  • Last visited

Community Reputation

0 Neutral

About [DemoN]

  • Rank
    Transformer
  • Birthday 04/05/1995

Details

  • Location
    Laptop
  • Interests
    Playing MTA, Hanging Around

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. No errors, no warnings. Markers were destroyed but i couldn't get an m4
  2. Line 12: bad argument #2 to 'remove' (number expected, got userdata) Now It doesn't remove markers..
  3. It destroys markers but doesn't give me m4
  4. Maybe something like this? ( There may be errors, I'm not good at scripting Just an idea ) function createDeathPickup ( totalammo, killer, killerweapon, bodypart ) x, y, z = getElementPosition ( source ) health = createPickup ( x, y, z, 0, 100) end addEventHandler ( "onPlayerWasted", getRootElement(), createDeathPickup ) function destroyPickup destroyElement(health) end addEventHandler("onPickupHit", health, destroyPickup)
  5. Wait. my name in the list No problem I can always help you and This resource looks awesome but What did i do? (Really. I don't remember)
  6. You should calculate angles to attach an element to player bones. http://wiki.multitheftauto.com/wiki/GetPedBonePosition ^ You can find bone IDs with that link.
  7. [DemoN]

    censorship help!

    Change line 415 in freeroam/fr_server.lua addEventHandler('onPlayerChat', g_Root, function(msg, type) if type == 0 then cancelEvent() local account = getPlayerAccount(source) local r, g, b = getPlayerNametagColor(source) local name = getPlayerName(source) local msg = msg:gsub('#%x%x%x%x%x%x', '') if isObjectInACLGroup( 'user.'..getAccountName( account ), aclGetGroup( 'Admin' ) ) then outputChatBox( "#FF0000[Admin]" .. name .. '#FFFFFF: #FFFFFF' .. msg, g_Root, r, g, b, true) elseif isObjectInACLGroup( 'user.'..getAccountName( account ), acl
  8. x,y,z,tx,ty,tz = getCameraMatrix() myAngle = (( 360 - math.deg ( math.atan2 ( ( x - tx ), ( y - ty ) ) ) ) % 360)-180 setPedRotation( getLocalPlayer(), myAngle ) not tested...
  9. That works fine for me: function nametagColorChange ( thePlayer, commandName, r, g, b ) setPlayerNametagColor ( thePlayer, r, g, b ) end addCommandHandler ( "nametagcolor", nametagColorChange ) ^ Example from Wiki
  10. Check those resources: http://community.multitheftauto.com/index.php?p=resources&s=details&id=32 http://community.multitheftauto.com/index.php?p=resources&s=details&id=910 or you can use createProjectile and this link may help you: http://wiki.multitheftauto.com/wiki/CreateProjectile
  11. [DemoN]

    No-swear...

    Wow. Thanks for the tip. I'll use it
  12. [DemoN]

    No-swear...

    Woah! Thank you Cadu12 (where have you found this dirty things? )
  13. [DemoN]

    No-swear...

    Oh Thank you guys.
×
×
  • Create New...