server rules
#1

how can i add server rules?
Reply
#2

Making a new command?

pawn Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
if(!strcmp(cmdtext,"/rules",true))
{
SendClientMessage(playerid,0x168FE9FF,"1. Don't hack");
SendClientMessage(playerid,0x168FE9FF,"2. Respect cows.");
SendClientMessage(playerid,0x168FE9FF,"3. Report hackers.");
return 1;
}
return 0;
}
Reply
#3

no, i know how to do that. i ment to this rules:
Reply
#4

Oh. Some of them are static (Version), some can be changed in server.cfg (Ex: Website) and some can be changed in-game (Ex: Gravity, weather).
Reply
#5

i want to add rules, not change the existing rules...
Reply
#6

You can't. They're made by the SA-MP client which gets it's information from the master list/host.
Reply
#7

so how they did it:
Reply
#8

And itґs not "rules". This are special settings. Try to say it in this way. Itґs confusing.
Reply
#9

YSI plugin was the way to do that
Reply
#10

YSI plugin do not supports SA-MP 0.3 R7
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)