Little Error
#2

pawn Код:
CMD:rgod( playerid, params[ ] )
{
    CheckRconAdmin( playerid );
   
    if( GodMode[playerid] == 0 )
    {
        SetPlayerHealth( playerid, 99999 );
        SendClientMessage( playerid, COLOR_WHITE, "God Mode Activated.");
    }
    else if( GodMode[playerid] == 1 )
    {
        SetPlayerHealth( playerid, 100 );
        SendClientMessage( playerid, COLOR_WHITE, "God Mode Deactivated.");
    }
    return 1;
}
Should work
Reply


Messages In This Thread
Little Error - by Rock_Ro - 18.06.2011, 11:19
Re: Little Error - by WooTFTW - 18.06.2011, 11:20
Re: Little Error - by Rock_Ro - 18.06.2011, 11:21

Forum Jump:


Users browsing this thread: 1 Guest(s)