/ready help
#1

Hello.
I'm using yrace, in that we have to type /ready but no players are typing /ready and no one can race without typing /ready.
I need to remove that cmd and instead of /ready timer should show from 40 onwards

example 40,30,20,10, and then "Race Starting" 5,4,3,2,1 go!
like that i need, /ready is really annoying :S

pawn Код:
CMD:ready(playerid, params[]) {
    #pragma unused params
    new PState=GetPlayerState(playerid);
    if(RaceParticipant[playerid]==2 && PState != PLAYER_STATE_PASSENGER)
    {
        SendClientMessage(playerid,COLOR_GREEN,"You are now ready. Type /ready again to cancel.");
        RaceParticipant[playerid]=3;
        ReadyRefresh(playerid);
    }
    else if (RaceParticipant[playerid]==3 && RaceStart==0)
    {
        SendClientMessage(playerid,COLOR_YELLOW,"You are now not ready. Type /ready when you are.");
        RaceParticipant[playerid]=2;
    }
    else if (PState == PLAYER_STATE_PASSENGER) SendClientMessage(playerid,COLOR_YELLOW,"You need to be driving for yourself!");
    else if(RaceParticipant[playerid] == 1) SendClientMessage(playerid,COLOR_YELLOW,"You must have visited the starting CP to /ready.");
    else SendClientMessage(playerid,COLOR_YELLOW,"You have not participated in a race.");
    return 1;
}
Anyone please help +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)