Guest User

Untitled

a guest
Aug 3rd, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. function createPickup ()
  2. local x, y, z = getElementPosition ( thePlayer )
  3. local createPickup ( x + 2 , y + 2 , z + 0, 2, 2, { respawnTime = 10000, ammo = 100 } )
  4.     if (createPickup) then
  5.         outputChatBox("Successful", thePlayer)
  6.         else
  7.         outputChatBox("Unsuccessful!", thePlayer)
  8.     end
  9. end
  10. addCommandHandler("pickup weapon", createPickup)
Advertisement
Add Comment
Please, Sign In to add comment