10.08.2011, 08:58
It already has it's own ID when it spawns.
pawn Код:
if(strcmp(cmd,"/vehid",true) == 0)
{
new vehid = GetPlayerVehicleID(playerid);
new string[20];
format(string, sizeof(string), "Vehicle ID: %d", vehid);
SendClientMessage(playerid, -1, string);
return 1;
}