Checkpoints - 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: Checkpoints (
/showthread.php?tid=65145)
Checkpoints -
SuperS0nic - 10.02.2009
Код:
new Float:checkCoords[MAX_POINTS][4] = { //areas
{-2450.3767,949.5080,-2400.8530,1069.8329},
{-1715.5112,349.5567,-1658.8451,458.3686},
{-1589.6874,713.4771,-5.2422,210.1875}, //Police Station SF entrance
{-1593.5632,707.6714,-1573.9974,726.9960} //Police Station SF Exit
};
new Float:checkpoints[MAX_POINTS][3] = { // checkpoints
{-2413.7427,975.9317,45.0031},
{-1672.3597,414.2950,6.8866},
{245.3814,109.1928,1003.2188}, //Police Station SF entrace
{-1589.7340,716.5689,-5.2422} //Police Station SF exit
};
Whats the diffrence of those?
Re: Checkpoints -
MenaceX^ - 10.02.2009
Their coords[?]
Re: Checkpoints -
SuperS0nic - 10.02.2009
Yea but what does areas do to the checkpoints?
Cause both Police Station SF Entrances are not looking the same.
Re: Checkpoints -
gunit_j - 10.02.2009
new Float:checkCoords[MAX_POINTS][
4]
new Float:checkCoords[MAX_POINTS][
3]
Re: Checkpoints -
SuperS0nic - 10.02.2009
Quote:
Originally Posted by JuLi@N_G | <
new Float:checkCoords[MAX_POINTS][4]
new Float:checkCoords[MAX_POINTS][3]
|
Yea but what happends if i remove
Код:
new Float:checkpoints[MAX_POINTS][3] = { // checkpoints
{-2413.7427,975.9317,45.0031},
{-1672.3597,414.2950,6.8866},
{245.3814,109.1928,1003.2188}, //Police Station SF entrace
{-1589.7340,716.5689,-5.2422} //Police Station SF exit
};
totally?
Re: Checkpoints -
[AC]Flow - 19.06.2010
please! tell me how u got the Float:checkCoords[MAX_POIN
![Huh?](images/smilies/confused.gif)
? how do u get the cords plz help
Re: Checkpoints -
ViruZZzZ_ChiLLL - 19.06.2010
Quote:
Originally Posted by [AC
Flow ]
please! tell me how u got the Float:checkCoords[MAX_POIN ![Huh?](images/smilies/confused.gif) ? how do u get the cords plz help
|
Dude, why do you need to bump this 1 year old topic?
Just make a new topic and ask.
Re: Checkpoints -
[AC]Flow - 19.06.2010
lol i first time using this how i make a new topic?
Re: Checkpoints -
Lajko1 - 19.06.2010
Quote:
Originally Posted by [AC
Flow ]
please! tell me how u got the Float:checkCoords[MAX_POIN ![Huh?](images/smilies/confused.gif) ? how do u get the cords plz help
|
you can get coords: go to your
san andreas folder than go to
debuger,run it and go somewhere and type
/save(i think its /save if its not correct me ) than quit the
debuger and go to
savedpositions.txt in
san andreas folder
and there wil lbe something like that AddPlayerClass(0,1285,5524 etc etc etc );
so here you have AddPlayerClass(classid,float
x,float
y,float
z,Facing angle);
and yust copy and paste floats .. x,y,z thats all