14.10.2012, 18:37
hey everyone,
im busy with making a new GM for my server, and now i have to use OnPlayerEnterRaceCheckpoint callback etc.
but now my question is:
when i do /test it must create the first checkpoint
so
and now then when the player enters the first checkpoint, it should create another new one, but do i have to put in the Coordinates from the previous next one? so i mean, the syntax is:
SetPlayerRaceCheckpoint(playerid, type, Float
, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float
ize)
do i have to set the nextx, nexty and nextz in the firstx, firsty, firstz? or just complete new coords?
so for example:
i have SetPlayerRaceCheckpoint(playerid, type, 1, 2, 3, 4, 5, 6, Float
ize)
do i have to do in the next one:
SetPlayerRaceCheckpoint(playerid, type, 4, 5, 6, 7, 8 ,9, Float:Size)
or
SetPlayerRaceCheckpoint(playerid, type 7, 8, 9 ,10, 11, 12, Float
ize);
the 1,2,3,etc are ment to be coords, but to make it easier to understand wut i mean i changed it to 12345678....
anyways which one do i have to do?
greets niels
i hope you understand me xD if you dont, tell me then ill try to explain it better
im busy with making a new GM for my server, and now i have to use OnPlayerEnterRaceCheckpoint callback etc.
but now my question is:
when i do /test it must create the first checkpoint
so
pawn Код:
SetPlayerRaceCheckpoint(playerid, 0, -1714.984741, 1027.797485, 45.036315, -1725.589111, 926.632080, 24.717582, 5.0);
SetPlayerRaceCheckpoint(playerid, type, Float
![angry](images/smilies/mad.gif)
![confused](images/smilies/confused.gif)
do i have to set the nextx, nexty and nextz in the firstx, firsty, firstz? or just complete new coords?
so for example:
i have SetPlayerRaceCheckpoint(playerid, type, 1, 2, 3, 4, 5, 6, Float
![confused](images/smilies/confused.gif)
do i have to do in the next one:
SetPlayerRaceCheckpoint(playerid, type, 4, 5, 6, 7, 8 ,9, Float:Size)
or
SetPlayerRaceCheckpoint(playerid, type 7, 8, 9 ,10, 11, 12, Float
![confused](images/smilies/confused.gif)
the 1,2,3,etc are ment to be coords, but to make it easier to understand wut i mean i changed it to 12345678....
anyways which one do i have to do?
greets niels
i hope you understand me xD if you dont, tell me then ill try to explain it better