01.04.2015, 01:08
pawn Код:
CMD:teste(playerid)
{
format(String, sizeof(String), "%d", GetPlayerVehicleID(playerid));
SendClientMessage(playerid, 0xFFFFFFAA, String);
return 1;
}
CMD:teste(playerid)
{
format(String, sizeof(String), "%d", GetPlayerVehicleID(playerid));
SendClientMessage(playerid, 0xFFFFFFAA, String);
return 1;
}
new vehicle;
vehicle = GetPlayerVehicleID(playerid);
CMD:teste(playerid)
{
format(String, sizeof(String), "%d", GetVehicleModel(GetPlayerVehicleID(playerid)));
SendClientMessage(playerid, 0xFFFFFFAA, String);
return 1;
}
format(String, sizeof(String), "Meu veнculo: ID %i (modelo %i)", GetPlayerVehicleID(playerid), GetVehicleModel(GetPlayerVehicleID(playerid)));