Command problem!
#4

In addition to what the others said, i suggest you to format your code a littlebit more, because it is easier to read:
PHP код:
CMD:aheal(playeridparams[])
{
    if(
PlayerInfo[playerid][Level] < 2)
    {
        return 
SCM(playerid,0xFF8284FF,"[ERROR]: You are not allowed to use this command!");
    }
    
//ELSE
    
SetPlayerHealth(playerid100);
    return 
1;

Reply


Messages In This Thread
Command problem! - by Hunud - 19.11.2016, 15:15
Re: Command problem! - by TwinkiDaBoss - 19.11.2016, 15:17
Re: Command problem! - by Dayrion - 19.11.2016, 15:17
Re: Command problem! - by BiosMarcel - 19.11.2016, 15:26
Re: Command problem! - by Hunud - 19.11.2016, 15:33
Re: Command problem! - by Dayrion - 19.11.2016, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)