Multiple errors
#10

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == 2) {
        new VehCheck = GetPlayerVehicleID(playerid);
        if(VehCheck == Cars[1] || VehCheck == Cars[2] || VehCheck == Cars[3] || VehCheck == Cars[4] || VehCheck == Cars[5] || VehCheck == Cars[6] || VehCheck == Cars[7] || VehCheck == Cars[8] || VehCheck == Cars[9])
        {
            if(PlayerInfo[playerid][Team] = Civilian)
            {
                    RemovePlayerFromVehicle(playerid);
                    SendClientMessage(playerid, -1, "You Don't have the keys for this car.");
                    return 1;
            }
            else {
                return 1;
            }
        }

        return 1;
    }
    return 1;
}
Quote:
Originally Posted by MP2
Посмотреть сообщение
What horrible indentation. I'm not even going to attempt to read it.
The point in posting then?
Reply


Messages In This Thread
Multiple errors - by BleverCastard - 22.04.2012, 20:57
Re: Multiple errors - by Kitten - 22.04.2012, 21:07
Re: Multiple errors - by BleverCastard - 22.04.2012, 21:08
Re: Multiple errors - by Kitten - 22.04.2012, 21:11
Re: Multiple errors - by BleverCastard - 22.04.2012, 21:14
Re: Multiple errors - by Kitten - 22.04.2012, 21:22
Re: Multiple errors - by BleverCastard - 22.04.2012, 21:25
Re: Multiple errors - by Kitten - 22.04.2012, 21:25
Re: Multiple errors - by MP2 - 22.04.2012, 21:25
Re: Multiple errors - by BleverCastard - 22.04.2012, 21:28

Forum Jump:


Users browsing this thread: 1 Guest(s)