else if ( strcmp( cmd, "setgname", true ) == 0 )
{
tmp = strtok( cmdtext, idx );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_RED, "USAGE: /c setgname [NAME]" );
else
{
SetGameModeText(tmp);
format( szMsg, sizeof( szMsg ), "GAMETEXT SETTED TO :[ %s ]", tmp );
SendClientMessageToAll(COLOR_GREEN, szMsg );
}
return 1;
}
/////////
saw a bug report it now