SA-MP Forums Archive
[FilterScript] [KiiD] /help Command - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [KiiD] /help Command (/showthread.php?tid=315234)



[KiiD] /help Command - KiiD - 02.02.2012

If you don't have any positive feedback, don't post. This is here for people who want it.
This Is My First Post On KiiD And this account will just be for basic FS and possibly GM's. I will gradually get more advanced FS. So just follow along and you will hopefully enjoy the content I put out for you guys.

Okay So My First FS Is the "/help" command good for setting commands in place so its nice and tidy for users to get help on your server/gamemode.

Report Any Bugs.
Don't Paste Hate Comments!
Remember This Is To Help People, Not To Come On And Insult Me/Others.


Version 1.0


Re: [KiiD] /help Command - vassilis - 02.02.2012

dont publish things like that....not neccessary..


Re: [KiiD] /help Command - KiiD - 02.02.2012

Quote:
Originally Posted by vassilis
Посмотреть сообщение
dont publish things like that....not neccessary..
I can post this if I want. Besides when I was a major noob and I wanted to try making my own server I searched up how to add /help command. It didn't just pop into my head how to do it. Gotta Learn somewhere.


Re: [KiiD] /help Command - RoleplayEditor - 02.02.2012

Command Processor?


Quote:

dont publish things like that....not neccessary..

+1
Well if some one wanna know how to make a simple command like this they can checkout other GM's D:
Almost all GM Got a help cmd


Re: [KiiD] /help Command - Gravity4501 - 02.02.2012

Well it help me lol Thanks man!!!!!!


Re: [KiiD] /help Command - Konstantinos - 02.02.2012

This FS uses only one Function. If someone begginner want to learn how to script and he/she really wants it then I believe he/she will read the wiki. SendClientMessage is the first function I learnt, so I think is a bit impossible someone doesn't know it. Anyway, as this is your first FS and I will don't say more but one very simple note.
It should return a value on the end of the command.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/help",cmdtext)) {
        SendClientMessage(playerid,0xFFFFFFFF,"Edit This Text");
        SendClientMessage(playerid,0xFFFFFFFF,"Edit This Text");
        SendClientMessage(playerid,0xFFFFFFFF,"Edit This Text");
        SendClientMessage(playerid,0xFFFFFFFF,"Edit This Text");
        SendClientMessage(playerid,0xFFFFFFFF,"Edit This Text");
        SendClientMessage(playerid,0xFFFFFFFF,"Edit This Text");
        SendClientMessage(playerid,0xFFFFFFFF,"Edit This Text");
        SendClientMessage(playerid,0xFFFFFFFF,"Edit This Text");
        SendClientMessage(playerid,0xFFFFFFFF,"Edit This Text");
        return 1; // it needs to return a value here.
    }
    return 0;
}



Re: [KiiD] /help Command - RuSke - 02.02.2012

but 1/5


Re: [KiiD] /help Command - TheBetaFox - 02.02.2012

0/5.
If you want to teach a beginner, just don't give him the damn code like that. Explain step by step.
I don't think there will be more than two people ever using this.
You could've just posted a newb tutorial on SendClientMessage rather than spamming the forums with a thousand useless single-command filterscripts.


Re: [KiiD] /help Command - suhrab_mujeeb - 02.02.2012

pawn Код:
CMD:help(playerid,params[])
{
SendClientMessage(playerid, -1, "God helps those who help themselves.");
return useless;
}



Re: [KiiD] /help Command - KiiD - 02.02.2012

Quote:
Originally Posted by Gravity4501
Посмотреть сообщение
Well it help me lol Thanks man!!!!!!
Like I Said, I searched for a /help command when I knew nothing of scripting, heres another example. Simple Things Can Be Important Too.