Simple Errors:P - Forgot how to make them lol.
#4

Hmm never made it like you did, just try it like this:
pawn Код:
YCMD:buynitro(playerid, params[])
{
    if(IsPlayerDriver(playerid))
    {
        if(IsPlayerInRangeOfPoint(playerid, 7.0, -216.4033,1048.0056,19.7422))
        {
            if(PlayerInfo[playerid][VehNitro] == 0)
            {
                PlayerInfo[playerid][VehNitro] = 1;
        return 1;
            }
        else return SCM(playerid, COLOR_GREY, "You already have Nitrous in your vehicle.");
        }
    else return SCM(playerid, COLOR_GREY, "You're not at Nitrous Shop");   
    }
    else return SCM(playerid, COLOR_GREY, "You're not in a vehicle");      
}
Reply


Messages In This Thread
Simple Errors:P - Forgot how to make them lol. - by PlayHard - 31.12.2011, 11:40
Re: Simple Errors:P - Forgot how to make them lol. - by CoaPsyFactor - 31.12.2011, 11:41
Re: Simple Errors:P - Forgot how to make them lol. - by James Coral - 31.12.2011, 11:42
Re: Simple Errors:P - Forgot how to make them lol. - by FireCat - 31.12.2011, 11:44
Re: Simple Errors:P - Forgot how to make them lol. - by Ash. - 31.12.2011, 11:45
Re: Simple Errors:P - Forgot how to make them lol. - by Mike_Peterson - 31.12.2011, 11:45
Re: Simple Errors:P - Forgot how to make them lol. - by PlayHard - 31.12.2011, 11:57

Forum Jump:


Users browsing this thread: 1 Guest(s)