Quote:
Originally Posted by dPlaYer_
pawn Код:
CMD:trazer(playerid, params[]) { new ID; if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "[ Erro ] /trazer [Id]"); if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, -1, "[ Erro ] Id Invalido!"); new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SetPlayerPos(ID, x, y, z); SetPlayerInterior(ID, GetPlayerInterior(playerid)); if(IsPlayerInAnyVehicle(playerid)) { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID, x + 1, y + 1, z); PutPlayerInVehicle(playerid, VehicleID, 0); } return 1; }
|
Vocк tem o /ir ?
Acho que o /trazer nгo vai ser o suficiente...
E obrigado por me ajudar ^^ +rep