CMD TOGGC
#1

PHP код:
CMD:toggc(playeridparams[])
{
    if(
GlobalChat[playerid] == 0)
 {
        
SendClientMessage(playeridCOLOR_WHITE"You have enabled global chat, use /g to chat.");
        
GlobalChat[playerid] = 1;
    }
 else if(
GlobalChat[playerid] == 1)
    {
        
SendClientMessage(playeridCOLOR_WHITE"You have disabled global chat.");
        
GlobalChat[playerid] = 0;
    }
    return 
1;

Here is Toggc CMD when some 1 connect in server player have to write /toggc to open it i want when player join server its auto opend..... do some thing pls...
Reply
#2

Search for GlobalChat onplayerconnect and change 0 to 1
Reply


Forum Jump:


Users browsing this thread: