IvancheBG

Teleport Command

Mar 25th, 2011
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. if (strcmp("/ls", cmdtext, true, 10) == 0)
  2. {
  3. new playername[MAX_PLAYER_NAME], string[90];
  4. SetPlayerPos(playerid, 2493.0647, -1667.7250, 13.3438);
  5. GetPlayerName(playerid, playername, sizeof(playername));
  6. format(string, sizeof(string), "%s has been teleported to LosSantos.", playername);
  7. SendClientMessageToAll(0xAA3333AA, string);
  8. return 1;
Advertisement
Add Comment
Please, Sign In to add comment