15.11.2013, 08:02
Hi, where i need to put
to set checkpoint when the truck pickup the attach
Код:
if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) { new rand = (1+locatiitir[playerid]+random(sizeof(tirlocatii)-1))%sizeof(tirlocatii); locatiitir[playerid] = rand; SetPlayerCheckpoint(playerid,tirlocatii[rand][0],tirlocatii[rand][1],tirlocatii[rand][2],3); } return 1;