OnPlayerText
#7

Try this:

PHP код:
public OnPlayerText(playeridtext[])
{
        new 
textv2[128], name[MAX_PLAYER_NAME];
        
GetPlayerName(playeridnamesizeof (name));
        if(
PlayerMuted[playerid] == 1) {
                
GameTextForPlayer(playerid,"~n~~r~ERROR:~n~~y~You are muted!"10001);
                return 
0;
        }else{
            
format(textv2sizeof (textv2), "%s[%d]: %s"nameplayeridtext);
            
SendPlayerMessageToAll(playeridtextv2);
            return 
0;
       }
          return 
0;

Reply


Messages In This Thread
OnPlayerText - by Socan - 14.11.2012, 04:46
Re: OnPlayerText - by [HK]Ryder[AN] - 14.11.2012, 04:51
Re: OnPlayerText - by Socan - 14.11.2012, 05:03
Re: OnPlayerText - by [HK]Ryder[AN] - 14.11.2012, 05:11
Re: OnPlayerText - by Socan - 14.11.2012, 05:31
Re: OnPlayerText - by Emmet_ - 14.11.2012, 05:33
Re: OnPlayerText - by Plovix - 14.11.2012, 05:46

Forum Jump:


Users browsing this thread: 3 Guest(s)