Guest User

Untitled

a guest
May 5th, 2014
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. dcmd_gotop(playerid, params[])
  2. {
  3. new Float:Pos[4],p[128];
  4. if (sscanf(params, "iii", Pos[1], Pos[2], Pos[3])) return SendClientMessage(playerid, 0xFF9900AA, "Usage:/gotop [X] [Y] [Z]");
  5. else
  6. {
  7. SetPlayerPos(playerid,Pos[1],Pos[2],Pos[3]);
  8. format(p,sizeof(p),"You Have Teleported To : X = %d , Y = %d , Z = %d",Pos[1],Pos[2],Pos[3]);
  9. SendClientMessage(playerid,0xFF9900AA,p);
  10. }
  11. return 1;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment