Using ! or # as a command?
#2

PHP код:
public OnPlayerText(playeridtext[])
{
    if(
text[0] == '#')
    {
        
strdel(text01);
        foreach(
Playeri)
        {
            if(!
IsPlayerAdmin(i)) continue;
            
SendClientMessage(i, -1text);
            return 
0;
        }
    }
    return 
1;

Reply


Messages In This Thread
Using ! or # as a command? + undefined params - by CrystalMethod - 17.09.2018, 17:12
Re: Using ! or # as a command? - by Kasichok - 17.09.2018, 17:23
Re: Using ! or # as a command? - by iLearner - 17.09.2018, 17:40
Re: Using ! or # as a command? - by CrystalMethod - 17.09.2018, 20:26
Re: Using ! or # as a command? - by CrystalMethod - 17.09.2018, 21:25
Re: Using ! or # as a command? - by Grim_ - 17.09.2018, 21:30
Re: Using ! or # as a command? - by CrystalMethod - 17.09.2018, 21:38
Re: Using ! or # as a command? - by Grim_ - 17.09.2018, 21:40
Re: Using ! or # as a command? - by CrystalMethod - 17.09.2018, 21:47
Re: Using ! or # as a command? - by Grim_ - 17.09.2018, 22:24

Forum Jump:


Users browsing this thread: 1 Guest(s)