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)
+--- Thread: help me please (/showthread.php?tid=280687)



help me please - Mario1 - 02.09.2011

Can i get help about some cmds ?! I mean can you help to make cmds for me?!


Re : help me please - Lhine.S - 02.09.2011

Paste this on your filterscript in public OnPlayerCommandText
Quote:

if(strcmp(cmdtext, "/help", true) == 0)
{
SendClientMessage(playerid,0x00FFFFFF,"Help Commands : ");
SendClientMessage(playerid,0x00FFFFFF,"/v spawn vehicle, /ls got to ls");
return 1;
}




Re: help me please - Mario1 - 02.09.2011

What is that for? to make cmds or what. please answer me and thanks


Re: help me please - JiHost - 02.09.2011

We can't help you to create commands. Use wiki, search, learn. It takes some time.
And yea, this is command "/help" which displays help commands.


Re: help me please - Salsa - 02.09.2011

lol See u need commands For YOur Server add This on there

Quote:

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmd, "/commands", true) == 0) {
SendClientMessage(playerid, COLOR_GREEN,"/YOur Cmds:");
SendClientMessage(playerid, COLOR_YELLOW,"/YOur Cmds");
SendClientMessage(playerid, COLOR_YELLOW,"/YOur Cmds");
return 1;
}




Re: help me please - Kingunit - 02.09.2011

What kind of command you wanted to make? I can help you with it