Jump to content

[DemoN]

Members
  • Posts

    85
  • Joined

  • Last visited

About [DemoN]

  • 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.

[DemoN]'s Achievements

Transformer

Transformer (11/54)

0

Reputation

  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. https://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 ), aclGetGroup( 'Moderator' ) ) then outputChatBox( "#FF8000[Moderator]" .. name .. '#FFFFFF: #FFFFFF' .. msg, g_Root, r, g, b, true) elseif isObjectInACLGroup( 'user.'..getAccountName( account ), aclGetGroup( 'Member' ) ) then outputChatBox( "#00FF00[Member]" .. name .. '#FFFFFF: #FFFFFF' .. msg, g_Root, r, g, b, true) else outputChatBox( "#FFFF00[Guest]" .. name .. '#FFFFFF: #FFFFFF' .. msg, g_Root, r, g, b, true) end end end )
  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: https://community.multitheftauto.com/index.php?p=resources&s=details&id=32 https://community.multitheftauto.com/index.php?p=resources&s=details&id=910 or you can use createProjectile and this link may help you: https://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...