COMMANDS - 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)
+--- Thread: COMMANDS (
/showthread.php?tid=321511)
COMMANDS -
boris.pwn - 27.02.2012
how to create command /allmembers to see the leader of all the members?
How to create command /eject to eject the leader of the player when not active?
Re: COMMANDS -
Amit_B - 27.02.2012
What leader of what members?
You really can't post two big red lines of asks and except for someone to understand.
Re: COMMANDS -
Kudoz - 27.02.2012
Learn how to script urself on the SA:MP Wiki! There you will get all information that you need of makin a simple command.
here is an example btw:
put this on the top of ur script:
pawn Код:
#define COLOR_GREEN 0x00FF00FF
pawn Код:
if (strcmp(cmdtext, "/allmembers", true)==0){
{
SendClientMessage(playerid, COLOR_GREEN, "MEMBERLEADER ");
SendClientMessage(playerid, COLOR_GREEN, "MEMBERLEADER ");
SendClientMessage(playerid, COLOR_GREEN, "MEMBERLEADER ");
SendClientMessage(playerid, COLOR_GREEN, "MEMBERLEADER ");
SendClientMessage(playerid, COLOR_GREEN, "MEMBERLEADER ");
}
return 1;