Editing server rules.
#1

Anyway to edit the server rules? I'm using PPC_Trucking.
And when i type /rules it comes up with a small list of rules.. Anyway to add more to it?



Thanks guys.
Reply
#2

Pawns - includes - PPC_(I think general commands or whatever) then ctrfl f and rules depending on the processor it's using
Reply
#3

#define DIALOG_RULES 5123

pawn Код:
CMD:rules(playerid, params[])
{
        new string[300];
        strcat(string,"No Ramming or your tires will burn \nNo Hacking or you will die instantly \nNo Car jacking it will lead you to sudden ban");
        strcat(string,"No spamming or you will be mutted until SAMP version 0.5f\nNo cleo mods this will crash your game (Death Blue screen) ");
        strcat(string,"Just edit those ");
        ShowPlayerDialog(playerid, Dialog_Rules, DIALOG_STYLE_MSGBOX, "Server Rules", string, "Close", "");
        return 1;
}
Reply
#4

thankyou
Reply
#5

No, that's not what he means he means how to edit the rules system that comes with the GM he is currently running, PPC_Trucking
Reply
#6

Rules in the form of message.
pawn Код:
CMD:rules(playerid,params[])
{
   SendClientMessage(playerid, 0xFF0000, "Rule: 1"); //Edit the text between quotes " "
   SendClientMessage(playerid, 0xFF0000, "Rule: 2"); //Edit the text between quotes " "
   SendClientMessage(playerid, 0xFF0000, "Rule: 3"); //Edit the text between quotes " "
   SendClientMessage(playerid, 0xFF0000, "Rule: 4"); //Edit the text between quotes " "
   SendClientMessage(playerid, 0xFF0000, "Rule: 5"); //Edit the text between quotes " "
   SendClientMessage(playerid, 0xFF0000, "Rule: 6"); //Edit the text between quotes " "
   SendClientMessage(playerid, 0xFF0000, "Rule: 7"); //Edit the text between quotes " "
   SendClientMessage(playerid, 0xFF0000, "Rule: 8"); //Edit the text between quotes " "
   SendClientMessage(playerid, 0xFF0000, "Rule: 9"); //Edit the text between quotes " "
   return 1;
}

// 0xFF0000 refers to the color code red.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)