/cmds command
#1

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

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

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?
Reply
#4

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.
--''
Reply
#5

You are not begginer??
haah
Reply
#6

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

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

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;
}
Reply
#9

lol making commands is easy everyone knows it
Reply
#10

Okay what ever
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)