Guest User

Untitled

a guest
Apr 20th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. function truckerJob(player,command)
  2.         setElementData(player, "job", 3)
  3.         outputChatBox("Du bist nun Truckerfahrer! Herzlichen Glückwunsch!", player,0,255,0)
  4.  
  5. end
  6. addCommandHandler("job", truckerJob)
  7.  
  8. function truckerStart ( thePlayer )
  9.          if tonumber(getElementData(player,"job")) == 3 then
  10.          outputChatBox("YAY ES HAT GEKLAPPT")
  11.          else outputChatBox("NEIN DU BIST IMMER NOCH DUMM!")
  12.          end
  13. addCommandHandler ( "truckerstart", truckerStart )
  14. end
Advertisement
Add Comment
Please, Sign In to add comment