Function positioning
#1

Hi, where i need to put

Код:
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;
to set checkpoint when the truck pickup the attach
Reply


Messages In This Thread
Function positioning - by moof2010 - 15.11.2013, 08:02
Re: Function positioning - by newbie scripter - 15.11.2013, 08:09
Re: Function positioning - by moof2010 - 15.11.2013, 11:46
Re: Function positioning - by Vince - 15.11.2013, 11:49
Re: Function positioning - by moof2010 - 15.11.2013, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)