Jump to content

Baseplate

Members
  • Posts

    1,417
  • Joined

  • Last visited

Everything posted by Baseplate

  1. addCommandHandler('kill', function ( player ) setTimer(killPed,5000,1, player) -- then player type /kill timer start and he must wait 5 seconds to die setElementFrozen( player, true) -- freeze player outputChatBox(" You'll die in 5 seconds!", player, 255, 255, 255, false) end ) function unfroze(player) serElementFrozen( player, false) -- unfroze player after spawn end addEventHandler("onPlayerRespawn", player, unfroze) Give credits to their real owners, the last part won't work and you got it from Scripting subforums
  2. Baseplate

    question

    And there is a community resource allows you to add weapons to vehicles.
  3. use a for loop with getPlayersInTeam
  4. Oh, how come I'm selling these scripts??
  5. Baseplate

    MTA not working

    Well, I'm still in need of help...
  6. He asks to make his whole Gamemode aswell, that could cost you much...I'm just giving my opinion
  7. Learn scripting already, I'm 15 and I'm a scripter already...
  8. No problem, does it work?? make sure it's client-sided
  9. isElementWithinMarker So theMarker = createMarker(x, y, z, "cylinder") addEventHandler("onClientPlayerDamage", root, function(attacker, weapon, bodypart, loss) if (isElementWithinMarker(source, theMarker)) then cancelEvent() end end )
  10. Baseplate

    Tables

    Again a new question, anyway to count how much players in that marker?
  11. Baseplate

    Tables

    Ah, I didn't get him much, thanks
  12. Baseplate

    ped

    You can use Extra_health by Castillo.
  13. Baseplate

    Tables

    Aha, thanks! Another question, how to count how much elements/players are in this table?
  14. Baseplate

    Tables

    I meant, I wanted to use the players who's in this table to do something else.
  15. Baseplate

    Tables

    robbing = {} tehMarker = createMarker(x, y, z, "cylinder") function MarkerHit( hitElement, matchingDimension ) if getElementType( hitElement ) == "player" then table.insert(robbing, hitElement) end end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) function markerLeave( leaveElement, matchingDimension ) if getElementType( leaveElement ) == "player" then table.remove(robbing, leaveElement) end end addEventHandler( "onMarkerLeave", myMarker, markerLeave ) Will this work and how to get players from this table?
  16. So using createObject and moveObject with colshapes is hard?
  17. I even saw these scripts before and they were totally awesome. FWCentral should be trusted
  18. FWCentral is a trustable guy. Good luck!
  19. And please, stop using Bold BBCode in LUA scripts
  20. Hello boncho88, I actually participated in your suvery and answered, hope that I helped you Sincerely, Samer
×
×
  • Create New...