SA-MP Forums Archive
Race - 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)
+--- Thread: Race (/showthread.php?tid=430103)



Race - Sliceofdeath - 12.04.2013

How to make race ?

Sry i am newbie about making dm/race - I never made

And i found alot about how to make race in ******* , but didn't got

Hope you people can help me

Thanks in advance :]


Re: Race - Faisal_khan - 12.04.2013

Here.


Re: Race - Sliceofdeath - 12.04.2013

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
How to get checkpoint code ?


Re: Race - Syntax - 12.04.2013

Buddy, there is ****** if you did not know.


Re: Race - Sliceofdeath - 12.04.2013

Quote:
Originally Posted by Syntax
Посмотреть сообщение
Buddy, there is ****** if you did not know.
RIP Scripting Help board.


Re: Race - AIped - 12.04.2013

let this be your bible;

https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint


Re: Race - Pottus - 12.04.2013

There is a lot to making a racing script even a basic one you need to keep track of player positions, checkpoints etc if you really need to ask here then your not ready for taking on a script like this.


Re: Race - Sliceofdeath - 12.04.2013

Is there any ingame race maker ?
If there is , please give me

Otherwise just tell how to get checkpoint code.Nothing else.


Re: Race - AIped - 12.04.2013

Anyways if you want to learn and spend time in learning it then i am available to teach you a bit while i
wait for a bugfix of some awesome plugin ^^

Edit:

SetPlayerCheckPoint(playerid, float,Float:y:float:z,size);

getting coordinates x,y,z: you go ingame (just your server) ..stand anywhere and type /save
the coordinates will be saved in savedpositions file in the SAMP folder.
Then you see addplayerclass..thats the coordinate you just made.
the first numbers are from the skin, then theres the numbers for X , Y , Z
you need X Y Z in this case so copy and paste them into
SetPlayerCheckpoint(playerid, (your copy for X),copy for Y,Copy for Z, then the size ..i mostly do 5.0 there wich is just fine.

have fun