Mask System IC CHAT +REP
#6

Quote:
Originally Posted by ShadeWalker
Посмотреть сообщение
2 Warnings
Код:
./includes/callbacks.pwn(6674) : warning 217: loose indentation
./includes/callbacks.pwn(6676) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
and didn't work IG, leave it i think it's hard or u need pro scripter btw thank you for helping
Did you copy and paste?
(Let me get a blank gm hold for one second)
2nd warning: remove new string[128];
1st. Indent when you C&P The two { are over to the left.

pawn Код:
#include <a_samp>

new Masked[MAX_PLAYERS];

main(){}

public OnPlayerText(playerid, text[])
{
    if(Masked[playerid] == 1)
    {
    new string[128];
    format(string, sizeof(string), "Stranger says: %s", text);
    SendClientMessageToAll(-1, string);
    return 0;
    }
    return 0;
}

public OnPlayerConnect(playerid)
{
    Masked[playerid]=1;
    return 1;
}
Worked for me...
Reply


Messages In This Thread
Mask System IC CHAT +REP - by Trevor Gin - 09.03.2015, 23:01
Re: Mask System IC CHAT +REP - by J0sh... - 09.03.2015, 23:09
Re: Mask System IC CHAT +REP - by Trevor Gin - 09.03.2015, 23:27
Re: Mask System IC CHAT +REP - by J0sh... - 09.03.2015, 23:29
Re: Mask System IC CHAT +REP - by Trevor Gin - 09.03.2015, 23:58
Re: Mask System IC CHAT +REP - by J0sh... - 10.03.2015, 00:01
Re: Mask System IC CHAT +REP - by CalvinC - 10.03.2015, 06:15

Forum Jump:


Users browsing this thread: 1 Guest(s)