Changing from /enter to ENTER_KEY
#2

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys == 16)//F,from what i remember
    {
    OnPlayerCommandText(playerid,"/enter");
    }
    return 1;
}
Yes,This maybe will lag your server,because everytime when he press ENTER,the whole OnPlayerComandText+'/enter'/ command will executing ..
Reply


Messages In This Thread
Changing from /enter to ENTER_KEY - by MusicBeast - 11.10.2011, 11:57
Re: Changing from /enter to ENTER_KEY - by FarSe. - 11.10.2011, 12:07
Re: Changing from /enter to ENTER_KEY - by MusicBeast - 11.10.2011, 13:13
Re: Changing from /enter to ENTER_KEY - by Yamoo - 11.10.2011, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)