trying to create race
#1

on top i have
pawn Код:
new drift;
ongamemodeinit
pawn Код:
drift = CreateDynamicRaceCP(0,2323.2761,1403.8103,42.8203,2327.2761,1403.8103,42.8203,3);
When player types /join in race it shows ERROR: You are not in an race checkpoint!
pawn Код:
CMD:join(playerid, params[])
{
    if(IsPlayerInDynamicRaceCP(playerid,drift))
    {
        SendClientMessage(playerid,0xFF9900AA,"The Race has started, go to the next checkpoint!");
    }
        else return SendClientMessage(playerid,0xFF0000FF,"ERROR: You are not in an race checkpoint!");
    return 1;
}
Reply
#2

Could be a problem with whatever system you have for the dynamic race cp. You could always just code a system yourself. It would be a lot easier to work with because you'd know the in's and out's of it.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)