Local Chat problem - + REP!
#4

Thanks no errors on the stock now but.

PHP код:
public OnPlayerText(playeridtext[])
{
    new 
pname[MAX_PLAYER_NAME], str[128];//reduce it if you want
    
GetPlayerName(playeridpnamesizeof(pname));
    
strreplace(pname'_'' ');
    
format(strsizeof(str), "%s says: %s"pnametext);//Appearance of the text submitted by a nearby player.
    /*
     * The first parameter states the radius of the area where the text will be submitted and if a player is inside the radius, the person will receive it.
     * The second parameter is the player that is submitting the text.
     * The third parameter will specify what exactly the text is, in this case %speaker says: %text.
     * The rest of the parameters are the fading colors, where how far the receiver is far from the talker.
    */
    
ProxDetector(30.0playeridstrCOLOR_FADE1COLOR_FADE2COLOR_FADE3COLOR_FADE4COLOR_FADE5);
    return 
0;//So that the text is not submitted regularly.

What is wrong here? Please help now i getting the error here.

unknown symbol, or not a constant symbol (symbol "i")
Reply


Messages In This Thread
Local Chat problem - + REP! - by Lynet - 13.12.2012, 05:35
Re: Local Chat problem - + REP! - by RajatPawar - 13.12.2012, 05:36
Re: Local Chat problem - + REP! - by Threshold - 13.12.2012, 05:47
Re: Local Chat problem - + REP! - by Lynet - 13.12.2012, 06:40
Re: Local Chat problem - + REP! - by dr.lozer - 13.12.2012, 06:44
Re: Local Chat problem - + REP! - by Lynet - 13.12.2012, 07:00
Re: Local Chat problem - + REP! - by iSkull - 17.10.2013, 09:55
Re: Local Chat problem - + REP! - by Konstantinos - 17.10.2013, 10:05

Forum Jump:


Users browsing this thread: 1 Guest(s)