30.05.2010, 02:01
I have GetPlayerVehicleID(playerid);
i have a DrugRunner mini mission thing that you can only use with a Boxville(id:49, so i put:
but the problem is when i use /carid(a command i made to get the id of any car ur in) for a boxville it comes back with like 715 and 716... now im thinkin it gets id of the car based on the rest cars, like "this is the 715th car in the script"
my script for /carid is:
any help or if im not clear, let me know cuz i really wana get this mini mission finished thanks I.A>
i have a DrugRunner mini mission thing that you can only use with a Boxville(id:49, so i put:
Код:
if(GetPlayerVehicleID(playerid) == 498) { ........................... }
my script for /carid is:
Код:
dcmd_carid(playerid,params[]) { new string[256]; new pCar; pCar = GetPlayerVehicleID(playerid); format(string,sizeof(string),"Your car's id is %i",pCar); SendClientMessage(playerid,COLOR_AQUA,string); return 1; }