09.05.2010, 13:55
I got this:
this code should work but it doesn't i think it creates a car but doesn't put me in, anyone knows why?
edit: it creates the vehicle but doesn't put me in.
pawn Код:
new fRandom = random(sizeof(FarmWarRand));
bringer[playerid] = CreateVehicle(504,FarmWarRand[fRandom][0],FarmWarRand[fRandom][1],FarmWarRand[fRandom][2],FarmWarRand[fRandom][3],colors[random(126)],colors[random(126)],10000);
PutPlayerInVehicle(playerid,bringer[playerid],0);
edit: it creates the vehicle but doesn't put me in.