13.12.2012, 15:17
(
Последний раз редактировалось Ouro; 13.12.2012 в 17:13.
)
pawn Код:
CMD:checarposicao(playerid)
{
new
Float:Pos[4],
String[129]
;
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Vocк nгo estб em um veнculo");
GetVehiclePos(GetPlayerVehicleID(playerid), Pos[0], Pos[1], Pos[2]);
GetVehicleZAngle(GetPlayerVehicleID(playerid), Pos[3]);
format(String, sizeof String, "A posiзгo deste veнculo й: X = %f, Y = %f, Z = %f, A = %f", Pos[0], Pos[1], Pos[2], Pos[3]);
SendClientMessage(playerid, -1, String);
return 1;
}