Author Topic: [GUPS] Custom GameMode Name By ME  (Read 2622 times)

0 Members and 1 Guest are viewing this topic.

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
[GUPS] Custom GameMode Name By ME
« on: April 04, 2013, 10:24:53 pm »
Code: [Select]
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
« Last Edit: March 17, 2014, 04:30:41 pm by mrockxkingbutt »
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol