Guest User

Untitled

a guest
Apr 21st, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. function truckerJob(player,command)
  2.     if getElementData(player, "Job", 3) then
  3.         outputChatBox("Du bist bereits Trucker!", player, 255, 0, 0)
  4.     else
  5.         setElementData(player, "Job", 3)
  6.         outputChatBox("Du bist nun Truckerfahrer!", player,0,255,0)
  7.     end
  8. end
  9. addCommandHandler("job", truckerJob)
Advertisement
Add Comment
Please, Sign In to add comment