OnPlayerText Help
#1

Код:
if(text[0] == '#' && PlayerInfo[playerid][gleader] == 1) {
	    new string[128]; GetPlayerName(playerid,string,sizeof(string));
		format(string,sizeof(string),"Gang.Chat:[%i]%s: %s",playerid,string,text[1]);
		MessageToGang(0x8000FFC8,string);
	    return 0;
	}
Ok so, this is the code for my GM's gang leader(s) chat and I want it to ##[text] for gang members chat
Couldnt get anything on samp forum so I am posting here for help

For Example My gang members chat should be like this or whatever

Код:
if(text[0] == '##' && PlayerInfo[playerid][gleader] == 1) {
	    new string[128]; GetPlayerName(playerid,string,sizeof(string));
		format(string,sizeof(string),"Gang.Chat:[%i]%s: %s",playerid,string,text[1]);
		MessageToGang(0x8000FFC8,string);
	    return 0;
	}
But this gives error.

Any kind of help would be appreciated.


Plus I am noob at scripting and I want Help for a command that could write anything in the textdraw box.
I am using Arakuta's SendBoxMsg!
This is just a side thing if any help is given I would be really Happy!
Reply


Messages In This Thread
OnPlayerText Help - by Vege - 11.09.2013, 11:31
Re: OnPlayerText Help - by [HK]Ryder[AN] - 11.09.2013, 12:04
Re: OnPlayerText Help - by Jefff - 11.09.2013, 13:27
Re: OnPlayerText Help - by Vege - 11.09.2013, 14:08
Re: OnPlayerText Help - by Vege - 11.09.2013, 19:27
Respuesta: OnPlayerText Help - by Swedky - 11.09.2013, 19:39
Re: OnPlayerText Help - by Konstantinos - 11.09.2013, 19:48
Re: OnPlayerText Help - by Vege - 12.09.2013, 08:56
Re: OnPlayerText Help - by [HK]Ryder[AN] - 12.09.2013, 11:52

Forum Jump:


Users browsing this thread: 3 Guest(s)