Annoying warning
#6

pawn Код:
if (!strcmp(cmdtext, "/joinrace", true, 9))
{
    if (joined[playerid]) return SendClientMessage(playerid,COLOR_LIGHTBLUE,"You already joined the race!");
    if (IsPlayerInStreamedCheckpoint(playerid,Cp1) && IsPlayerInAnyVehicle(playerid))
    {
        SendClientMessage(playerid,COLOR_LIGHTBLUE,"You joined the race!");
        SetVehiclePos(GetPlayerVehicleID(playerid), 2466.4861,-1661.6304,12.8521);
        SetPlayerFacingAngle(playerid, 0);
        ++racers;
        joined[playerid] = true;
    }
    else SendClientMessage(playerid,COLOR_LIGHTBLUE,"You must be at the cp to do that!");
    return 1;
}
Reply


Messages In This Thread
Annoying warning - by BrivibasGars - 04.02.2014, 11:40
Re: Annoying warning - by ikbenremco - 04.02.2014, 11:42
Re: Annoying warning - by Konstantinos - 04.02.2014, 11:43
Re: Annoying warning - by BrivibasGars - 04.02.2014, 12:43
Re: Annoying warning - by BrivibasGars - 04.02.2014, 21:27
Re: Annoying warning - by Konstantinos - 05.02.2014, 09:50

Forum Jump:


Users browsing this thread: 1 Guest(s)