11.06.2013, 22:02
Can anyone help me i have
but how do i get it to save to my user account
thats my GM http://pastebin.com/59wNYDic
pawn Код:
stock GetPlayerAdminLevel(playerid)
{
new
a_level_string[ 128 ];
if ( userData[ playerid ][ Admin_Level ] == 1 )
format( a_level_string, sizeof ( a_level_string ), "Mod" );
else if ( userData[ playerid ][ Admin_Level ] == 2 )
format( a_level_string, sizeof ( a_level_string ), "Super Mod" );
else if ( userData[ playerid ][ Admin_Level ] == 3 )
format( a_level_string, sizeof ( a_level_string ), "Admin" );
else if ( userData[ playerid ][ Admin_Level ] == 4 )
format( a_level_string, sizeof ( a_level_string ), "Owner" );
else
format( a_level_string, sizeof ( a_level_string ), "Unknown admin level!" );
return a_level_string;
}
thats my GM http://pastebin.com/59wNYDic