SA-MP Forums Archive
help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help (/showthread.php?tid=80221)



help - gpclan - 03.06.2009

dont tell me to serch i already serch

ok hers my problem im new to making races ok i want to make this race like where do i put it in the pawno heres code

Код:
  SetPlayerRaceCheckpoint(playerid,1,-1644.5199,-204.8154,14.1484,-419.6383,2456.2178,45.0368,10.0);
	SetPlayerRaceCheckpoint(playerid,1,-473.7626,2437.9082,50.1971,-558.1664,2421.0479,64.3909,10.0);
	SetPlayerRaceCheckpoint(playerid,1,-646.3369,2482.6831,75.3672,727.9007,2654.5110,61.9740,10.0);
	SetPlayerRaceCheckpoint(playerid,1,-702.7094,2693.2051,55.8585,-778.4067,2694.7659,47.1291,10.0);



Re: help - hoodline - 03.06.2009

It goes in the place thats going to trigger the even to beable to start

Example:

if you wanted it to start when some one spawns you would do

pawn Код:
public OnPlayerSpawn(playerid)
{
 SetPlayerRaceCheckpoint(playerid,1,-1644.5199,-204.8154,14.1484,-419.6383,2456.2178,45.0368,10.0);
 return 1;
}