iPaulinho

[Código] Exemplo de teleporte.

Nov 19th, 2012
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. if(strcmp(cmdtext, "/teleporte", true) ==0)
  2. {
  3. new Player[MAX_PLAYER_NAME], string[128];
  4. GetPlayerName(playerid, Player, MAX_PLAYER_NAME);
  5. format(string, sizeof(string), "%s foi pro teleporte", Player);
  6. SendClientMessageToAll(-1, string);
  7. SetPlayerPos(playerid, x, y, z);
  8. return 1;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment