LeonardoBradoks

Sistema de Teleporte Selecionando Local no Mapa

Sep 20th, 2018
1,179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1. public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
  2. {
  3.     new string[128], aname[MAX_PLAYER_NAME];
  4.     GetPlayerName(playerid, aname, sizeof(aname));
  5.     format(string, sizeof(string), "O(A) player %s foi para a posição %f %f %f", aname, fX, fY, fZ);
  6.     SendClientMessageToAll(-1, string);
  7.     SetPlayerPosFindZ(playerid, fX, fY, fZ);
  8.     return 1;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment