Converting !
#3

Код:
CMD:carwash(playerid, params [])
{
        if(IsPlayerInRangeOfPoint(playerid, 1084227584, 1156507145, 3302951282, 1095845911))
        {
            if(IsPlayerInAnyVehicle(playerid))
            {
                if(GetPlayerState(playerid) == 2)
                {
                    new var0 = 0;
                    while(++var0 < 89)
                    {
                        if(GetVehicleModel(GetPlayerVehicleID(playerid)) == glob2C[var0][0])
                        {
                            SendClientMessage(playerid, 0xAA3333AA, "You cannot have this vehicle washed.");
                            return 1;
                        }
                    }
                }
            }
        }
        return 1;
}
Reply


Messages In This Thread
Converting ! - by Red_Dragon. - 03.10.2012, 15:59
Re: Converting ! - by dannyk0ed - 03.10.2012, 16:00
Re: Converting ! - by CaRa - 03.10.2012, 16:02
Re: Converting ! - by Red_Dragon. - 03.10.2012, 16:03
Re: Converting ! - by CaRa - 03.10.2012, 16:05
Re: Converting ! - by SA-MPDrifter - 03.10.2012, 16:06
Re: Converting ! - by Red_Dragon. - 03.10.2012, 16:20
Re: Converting ! - by Ghost_Boii - 03.10.2012, 16:26
Re: Converting ! - by Red_Dragon. - 03.10.2012, 16:28
Re: Converting ! - by Ghost_Boii - 03.10.2012, 16:31

Forum Jump:


Users browsing this thread: 1 Guest(s)