Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dcmd_gotop(playerid, params[])
- {
- new Float:Pos[4],p[128];
- if (sscanf(params, "iii", Pos[1], Pos[2], Pos[3])) return SendClientMessage(playerid, 0xFF9900AA, "Usage:/gotop [X] [Y] [Z]");
- else
- {
- SetPlayerPos(playerid,Pos[1],Pos[2],Pos[3]);
- format(p,sizeof(p),"You Have Teleported To : X = %d , Y = %d , Z = %d",Pos[1],Pos[2],Pos[3]);
- SendClientMessage(playerid,0xFF9900AA,p);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment