SA-MP Forums Archive
server rules - 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: server rules (/showthread.php?tid=156861)



server rules - DeadlyBoy - 24.06.2010

how can i add server rules?


Re: server rules - Hiddos - 24.06.2010

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;
}



Re: server rules - DeadlyBoy - 24.06.2010

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



Re: server rules - Hiddos - 24.06.2010

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).


Re: server rules - DeadlyBoy - 24.06.2010

i want to add rules, not change the existing rules...


Re: server rules - Hiddos - 24.06.2010

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


Re: server rules - DeadlyBoy - 24.06.2010

so how they did it:



Re: server rules - Flashy - 24.06.2010

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


Re: server rules - snoob - 24.06.2010

YSI plugin was the way to do that


Re: server rules - DeadlyBoy - 24.06.2010

YSI plugin do not supports SA-MP 0.3 R7