SA-MP Forums Archive
Help me please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me please (/showthread.php?tid=88733)



Help me please - user226 - 28.07.2009

I have a CMD, /xyi

I need to when I wrote / xyi pizda served as SendClientMessageToAll (COLOR, "ea cool pizda");
But if the players will write, / xyi moxra, / xyi dsafdas, / xyi vavan, etc (Random Message) then type written SendClientMessage (playerid, COLOR, "/ xyi do not% s");
understand?



Re: Help me please - saiberfun - 28.07.2009

Try this or this


Re: Help me please - user226 - 28.07.2009

I do not understand there is nothing ...
Tell me here, Please


Re: Help me please - saiberfun - 28.07.2009

klick on
this or this



Re: Help me please - user226 - 28.07.2009

Еблан чтоль..
I say, I looked there.
Did not understand ..


Re: Help me please - saiberfun - 28.07.2009

-_-
just klick it n post in the script request thread ur request or learn it from the wiki


Re: Help me please - user226 - 28.07.2009

Quote:
Originally Posted by saiberfun
-_-
just klick it n post in the script request thread ur request or learn it from the wiki
нахуй мне твой вики, распездяй!

I make this cmd:
Код:
	if(strcmp(cmdtext, "/pizda", true, 6) == 0)
	{
	if(cmdtext[7] == 32 && cmdtext[6] != EOS) return SendClientMessage(playerid, 0xFAFAFAFF, "do not"");
	else if(strcmp(cmdtext[7], "sychara", true) == 0)
	{
	new string[128],pname[MAX_PLAYER_NAME];
	GetPlayerName(playerid, pname, sizeof(pname));
 	format(string,sizeof(string),"[DoZoR]: player: %s чмо черножопое", pname);
 	SendClientMessageToAll(0xFFFFFF00, string);
	}
	else SendClientMessage(playerid, 0xFAFAFAFF, "do not1");
	return true;
	}
if i write: "/pizda" - Unknown Command
if i write: "/pizda asjasda" - Written so as you need me, "Do not" (good)
if i write: "/pizda sychara" - Written so as you need me ( good )

i need to i write "/pizda" - written: "Do not"

Understand?


Re: Help me please - Serediucr - 28.07.2009

lol pizda