Advertisement
Guest User

Untitled

a guest
May 27th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. function Amenaza (thePlayer)
  2. local accName = getAccountName ( getPlayerAccount ( thePlayer ) )
  3. if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then
  4.  
  5. nemesi = exports [ "slothBot" ]:spawnBot ( 1158, 1238, 14, 90, math.random ( 300, 303 ), 0, 0, Tteam, 38, "chasing", true )
  6.  
  7. end
  8. end
  9. addCommandHandler("terroristas", Amenaza)
  10. setTimer(Amenaza, 700000, 700)
  11.  
  12. function consoleSetPlayerPosition ( source, commandName, posX, posY, posZ )
  13. setTime ( 1, 00)
  14. setElementPosition ( source, 1107, 1368, 11 )
  15. end
  16.  
  17.  
  18. function money (theKiller)
  19. if (source == nemesi) then
  20. givePlayerMoney(theKiller,math.random(20000))
  21. outputChatBox ( getPlayerName ( theKiller ) .. " #081DBFMato al Boss!, Ha Ganado $20.000 como recompensa",getRootElement(), 255, 255, 255, true )
  22. end
  23. end
  24. addEvent("onBotWasted", true)
  25. addEventHandler("onBotWasted", getRootElement(), money)
  26.  
  27. addCommandHandler ( "tomorrowland", consoleSetPlayerPosition )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement