SA-MP Forums Archive
[HELP] - 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] (/showthread.php?tid=80677)



[HELP] - xXiamCr4zyXx - 05.06.2009

I need help ....
How do you make something like this:

When i want to type /help to see commands and such also with /Stats to see your stats ..

Help me i dont know how to script can someone teach me those wiki things dont help me at all.


Re: [HELP] - cigo - 05.06.2009

use search, type ''stats'' in search window


Re: [HELP] - xXiamCr4zyXx - 05.06.2009

Quote:
Originally Posted by cigo
use search, type ''stats'' in search window
Nothing........................


Re: [HELP] - cigo - 05.06.2009

you mean that you can see how man players you are killed, how man times you have dead?


Re: [HELP] - SiJ - 05.06.2009

$$ ЈЈ ЂЂ..
Just kidding..
I think you are too lazy to read the wiki, cause I have read it few months ago, and I know scripting basics now and i can script Stats myself.. ;P


Re: [HELP] - cigo - 05.06.2009

i am using ladmin and it has got command /stats


Re: [HELP] - The_Tough - 05.06.2009

Quote:
Originally Posted by xXiamCr4zyXx
When i want to type /help to see commands
Maybe you mean this?

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/mycommand", cmdtext, true, 10) == 0)
       SendClientMessage(playerid,0xFF0000AA,"/commands");
       SendClientMessage(playerid,0xFF0000AA,"Write anything else you would like to be on /help cmd");
		return 1;
	}
	return 0;
}



Re: [HELP] - cigo - 05.06.2009

i think he wants script what shows your stats. (as i asked him before)



Re: [HELP] - The_Tough - 05.06.2009

maybe he meant /getstate cmd or ?


Re: [HELP] - cigo - 05.06.2009

he meant stats....

I hope this is what you needed : http://forum.sa-mp.com/index.php?topic=82157.0