[HELP] How can i make an /rules command
#1

How can i make a /rules command?


like when u write /rules you see on chat:

#1 Cheating and hacking - Permban
#2 No Spam
#3 race on %location% only

and etc

i rlly want one for my gta sa server



Plz make an pwn code



edit:

thx to <wepoz>

pawn Code:
if(!strcmp(cmdtext,"/rules",true))
            {
                SendClientMessage(playerid, 0x0, "1.Cheating and hacking - Permban");
                SendClientMessage(playerid, 0x0, "2.Red Player Color: Terrorist's");
        SendClientMessage(playerid, 0x0, "3.Race on %location% only");
            return 1;
}
Reply
#2

Look up tutorials, and SendClientMessage or dialogs (SCM is the most basic)
Reply
#3

its not so simple to me :I "and where is the tutorials?" and i need a VIDEO one not plain text "i hate to read and i will forgot rlly fast"
Reply
#4

Just Made One For You Now:

Code:
if(!strcmp(cmdtext,"/rules",true))
	        {
                SendClientMessage(playerid, 0x0, "1.Cheating and hacking - Permban");
                SendClientMessage(playerid, 0x0, "2.Red Player Color: Terrorist's");
		SendClientMessage(playerid, 0x0, "3.Race on %location% only");
	        return 1
}
This can be converted into any command that shows text..
Reply
#5

Quote:
Originally Posted by <Weponz>
View Post
Just Made One For You Now:

Code:
if(!strcmp(cmdtext,"/rules",true))
	        {
                SendClientMessage(playerid, 0x0, "1.Cheating and hacking - Permban");
                SendClientMessage(playerid, 0x0, "2.Red Player Color: Terrorist's");
		SendClientMessage(playerid, 0x0, "3.Race on %location% only");
	        return 1
}
This can be converted into any command that shows text..
Thank you so mutch! "i will make a credit for you!!!"
Reply
#6

Quote:
Originally Posted by jonnyboy
View Post
Thank you so mutch! "i will make a credit for you!!!"
NP...But dude trust me best thing you could do is download server files from SAMP Downloads and open one of the Gamemodes and see how everything works...It makes WIKI more understandable..
Reply
#7

Quote:
Originally Posted by <Weponz>
View Post
NP...But dude trust me best thing you could do is download server files from SAMP Downloads and open one of the Gamemodes and see how everything works...It makes WIKI more understandable..
ok (there is an sa-mp wiki? o_o)
Reply
#8

Quote:
Originally Posted by jonnyboy
View Post
its not so simple to me :I "and where is the tutorials?" and i need a VIDEO one not plain text "i hate to read and i will forgot rlly fast"
Mmmh, No. You forget fast because you tell your brain, that it isnt important information.
Reply
#9

Quote:
Originally Posted by Niixie
View Post
Mmmh, No. You forget fast because you tell your brain, that it isnt important information.
Ouch, it's becuase hes new. We were all once new like that so dont give him a hard time. I'm sure if you look back far enough you'll find some of my siumple ass noob questions
Reply
#10

Quote:
Originally Posted by Steven82
View Post
Ouch, it's becuase hes new. We were all once new like that so dont give him a hard time. I'm sure if you look back far enough you'll find some of my siumple ass noob questions
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)