SA-MP Forums Archive
/cmds 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /cmds command (/showthread.php?tid=174921)



/cmds command - silver_medall - 07.09.2010

how do I make to player put /cmds and appear the commands of the game?


Re: /cmds command - [XST]O_x - 07.09.2010

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext,"/cmds",true) == 0)
    {
        SendClientMessage(playerid,0x00FF40FF,"This is the server commands.");
        return 1;
    }
    return 0;
}



Re: /cmds command - silver_medall - 07.09.2010

so I change "This is the server commands." for the commands?
And for admins like u put level 1 and if your are a normal player it says you are not admin of level 1 and if u are level 2 it says the commands?


Re: /cmds command - silver_medall - 07.09.2010

lol Im "not" begginer
I just need some help .
But I already solved my problem




This forum requires that you wait 120 seconds between posts. Please try again in 29 seconds.
--''


Re: /cmds command - Dime - 07.09.2010

You are not begginer??
haah


Re: /cmds command - Mimic - 07.09.2010

Your not a beginner yet that is like the most basic command you can do?


Re: /cmds command - silver_medall - 07.09.2010

lol I know how to make maps, commands, messages, put skins... and I dont remember more x)


Re: /cmds command - Mimic - 07.09.2010

Well, If you know how to make commands then why are you asking to make a command about commands? Technically /cmds is just a message sent to who ever executes that command?

EDIT: Send me the list of your commands and I will do it for you.

EDIT: I also recommend you use ZCMD, It's the fastest. an example would be

Код:
command(cmds, playerid, params[])
{
      if(IsPlayerConnected( playerid ) ) 
      SendClientMessage(playerid, 0xFFFFFFFF, "CMDS: YOUR COMMANDS HERE");
      SendClientMessage(playerid, 0xFFFFFFFF, "Depending on how many commands you have will depend on how many lines you use");
      return 1;
}



Re: /cmds command - silver_medall - 07.09.2010

lol making commands is easy everyone knows it


Re: /cmds command - Mimic - 07.09.2010

Okay what ever