Boost level
#5

pawn Код:
CMD:blevel(playerid,params[])
{
    new Float:level;
    if(sscanf(params, "f", level)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /blevel [0.0-10.0]");
    PlayerInfo[playerid][Boostlevel] = level;
    return 1;
}
You will need to change 'Boostlevel' in your enum to 'Float:Boostlevel'.
Reply


Messages In This Thread
Boost level - by kalanerik99 - 12.01.2015, 20:12
Re: Boost level - by RedFusion - 12.01.2015, 20:14
Re: Boost level - by Divergent - 12.01.2015, 20:23
Re: Boost level - by kalanerik99 - 13.01.2015, 12:09
Re: Boost level - by Threshold - 13.01.2015, 12:29
Re: Boost level - by kalanerik99 - 13.01.2015, 14:07
Re: Boost level - by kalanerik99 - 13.01.2015, 14:19
Re: Boost level - by Threshold - 13.01.2015, 15:56
Re: Boost level - by kalanerik99 - 13.01.2015, 15:59
Re: Boost level - by Threshold - 13.01.2015, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)