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


Messages In This Thread
trying to create race - by tanush - 04.04.2011, 19:52
Re: trying to create race - by Backwardsman97 - 04.04.2011, 22:50

Forum Jump:


Users browsing this thread: 2 Guest(s)