18.11.2018, 01:35
Here is the code
Код:
stock UpdateStatus( playerid ) { if (PlayerInfo[ playerid ][ pVip ] == 0 && PlayerInfo[ playerid ][ Level ] == 0) { format( PlayerInfo[ playerid ][ Status ], 11, "Player" ); } else if ( PlayerInfo[ playerid ][ Level ] >= 5 ) { format( PlayerInfo[ playerid ][ Status ], 25, "Excutive Administrator" ); } else if ( PlayerInfo[ playerid ][ Level ] >= 4 ) { format( PlayerInfo[ playerid ][ Status ], 25, "Head Administrator" ); } else if ( PlayerInfo[ playerid ][ Level ] >= 3 ) { format( PlayerInfo[ playerid ][ Status ], 25, "Senior Administrator" ); } else if ( PlayerInfo[ playerid ][ Level ] >= 2 ) { format( PlayerInfo[ playerid ][ Status ], 25, "General Administrator" ); } else if ( PlayerInfo[ playerid ][ Level ] >= 1 ) { format( PlayerInfo[ playerid ][ Status ], 25, "Junior Administrator" ); }