Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.56 KB | None | 0 0
  1. ---------------------------------------------------------------------------------------------------
  2. -- func: cop
  3. -- auth: bope
  4. -- desc: Sets the players position to spot based on array
  5. ---------------------------------------------------------------------------------------------------
  6.  
  7. cmdprops =
  8. {
  9.     permission = 1,
  10.     parameters = "i"
  11. };
  12. function onTrigger(player,where)
  13.     local pos = { {1,2,3,140},
  14.                   {1,2,3,141}
  15.                 }  
  16.     if( pos[where] != nil)then
  17.         player:setPos(pos[where][1], pos[where][2], pos[where][3], 0, pos[where][4]);
  18.     end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement