[Help]Race Checkpoints not showing in Map
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Dynamic race checkpoints differ. Also because it'll cause run time error 4 if you use +1 index for the next x/y/z, do something like:
pawn Код:
if (sizeof (NextKidnapp) - 1 == rand) SetPlayerRaceCheckpoint(playerid, 0, NextKidnapp[rand][0], NextKidnapp[rand][1], NextKidnapp[rand][2], NextKidnapp[rand - 1][0],NextKidnapp[rand - 1][1],NextKidnapp[rand - 1][2], 5.0);
else SetPlayerRaceCheckpoint(playerid, 0, NextKidnapp[rand][0], NextKidnapp[rand][1], NextKidnapp[rand][2], NextKidnapp[rand + 1][0],NextKidnapp[rand + 1][1],NextKidnapp[rand + 1][2], 5.0);
thank u its Working
i want ask u somthings
how i can make when im in this Race CP Disable it ?
Cuz i Will Add money to player and disable it
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)