20.10.2010, 12:40
Okay, what you want is an loop to get the vehicleid
pawn Код:
new vehicleid = -1;
for(new i; i < MAX_VEHICLES; i++)
{
if(strmatch(Carstringtocheckhere,Carstringtomatchhere)) vehicleid = i; break;
}
now, SetVehicleToRespawn(vehicleid);