Guest User

Untitled

a guest
Sep 4th, 2010
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. function movePlayer(x, y, z, rotation)
  2. if x and y and z and rotation then
  3. local skin = getElementModel(client)
  4. spawnPlayer(client,x,y,z,rotation,skin)
  5. setCameraTarget(client,client)
  6. end
  7. end
  8.  
  9. addEvent('movePlayer', true)
  10. addEventHandler('movePlayer', root, movePlayer)
Advertisement
Add Comment
Please, Sign In to add comment