04.04.2011, 19:52
on top i have
ongamemodeinit
When player types /join in race it shows ERROR: You are not in an race checkpoint!
pawn Код:
new drift;
pawn Код:
drift = CreateDynamicRaceCP(0,2323.2761,1403.8103,42.8203,2327.2761,1403.8103,42.8203,3);
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;
}