Quote:
Originally Posted by introzen
Try this:
pawn Код:
for(new v=0; v <= sizeof(JobVehicle[PlayerInfo[playerid][pJob]]) v++) { if(IsValidVehicle(v)) SetVehicleParamsForPlayer(v, playerid, 0 0); }
You forgot to to create the actual loop by adding "v++" to it. I also added "<=" as the first vehicle in the array else wouldn't be affected by the loop (if i'm not mistaken. Was a long time ago I did programming).
|
Sorry i forgot to include that in the post, edited.
Still the same errors.