Filterscripts Rules
#1

Hello Guys

can some one make me Filterscripts with this rules:
when u make Filterscripts please add this cmd too: /rules
then u see all this rules

Do Not Use Any hack o cleo mod
do not use any cleo mod
if u not rispect this rules you are warned o kicked maybe banned

thx so much i need it urgent
Reply
#2

Quote:

CMD:rules(playerid)
{
SendClientMessage(playerid -1,"Do not use any hacks or Cleo mods")
SendClientMessage(playerid -1,"Breaking this rule will result in a Warn/Kick/Ban")
return 1;
}

Don't ask someone to make a filterscript with one command, just make the command
Reply
#3

not working
please make a Filterscripts with this rules in future i make more rules and other more cmds

please make it and upload it i need it urgent thx
Reply
#4

I do one for you but with sendclientmessage, if you don't like it with sendclientmessage just reply to the thread and I can make one for you, but with dialogs and please don't copy the code like an IDIOT try to understand what I do.

p.s : I add a big fail in the script find it and remove it :'), so he will need to found where the fail are.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/serverrules", cmdtext, true, 10) == 0) // Remplace it by /rules if you want..
    {
        SendClientMessage(playerid,0xFFFFFFC8,"----------------[ Server Rules ]----------------");
        SendClientMessage(playerid,0x0080C0C8,"• Do not use cleo mods or others cheat programs.");
        SendClientMessage(playerid,0x0080C0C8,"• Do not share any website of cheat programs.   ");
        SendClientMessage(playerid,0x0080C0C8,"• Do not advertising for others sa-mp servers.  ");
        SendClientMessage(playerid,0xFFFFFFC8,"----------------[ Server rules End ]------------");
        SendClientMessage(playerid,0xFF0000C8,"RULES BREAKERS : «warned,kicked,jailled,banned».");
        GameTextForPlayer(playerid,"~r~Respect~w~ the rules",3000,0);
        Ban(playerid);
        return 1;
    }
    return 0;
}
/*
* Add it, on the public OnPlayerCommandText, when you create a new script(filterscript)
*/
Reply
#5

Quote:
Originally Posted by thegreathom
Посмотреть сообщение
I do one for you but with sendclientmessage, if you don't like it with sendclientmessage just reply to the thread and I can make one for you, but with dialogs and please don't copy the code like an IDIOT try to understand what I do.

p.s : I add a big fail in the script find it and remove it :'), so he will need to found where the fail are.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/serverrules", cmdtext, true, 10) == 0) // Remplace it by /rules if you want..
    {
        SendClientMessage(playerid,0xFFFFFFC8,"----------------[ Server Rules ]----------------");
        SendClientMessage(playerid,0x0080C0C8,"• Do not use cleo mods or others cheat programs.");
        SendClientMessage(playerid,0x0080C0C8,"• Do not share any website of cheat programs.   ");
        SendClientMessage(playerid,0x0080C0C8,"• Do not advertising for others sa-mp servers.  ");
        SendClientMessage(playerid,0xFFFFFFC8,"----------------[ Server rules End ]------------");
        SendClientMessage(playerid,0xFF0000C8,"RULES BREAKERS : «warned,kicked,jailled,banned».");
        GameTextForPlayer(playerid,"~r~Respect~w~ the rules",3000,0);
        Ban(playerid);
        return 1;
    }
    return 0;
}
/*
* Add it, on the public OnPlayerCommandText, when you create a new script(filterscript)
*/
hahahahaha, funny as :P. Lets hope he looks at it
Reply
#6

Put in OnPlayerCommandText

pawn Код:
{
    if (strcmp("/rules", cmdtext, true, 10) == 0)
    {
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX,"{FFFF00}------------------| Server Rules|---------------------" , "{FFFFFF}1.{0080FF}[Enter your rule here]\n{FFFFFF}2.{0080FF}[Enter your rule here]\n{FFFFFF}3.{0080FF}[Enter your rule here]\n{FFFFFF}4.{0080FF}[Enter your rule here]{FFFFFF}\n5.{0080FF}[Enter your rule here]\n\n\n\n{FF0000}                                     Bikken ", "Ok", "");
return 1;
    }
    return 0;
 }
And this in OnDialogResponse
pawn Код:
{
   if(dialogid == 1){

   }
   return 0;
}
Shows a /rules in a dialog style, not like SendClientMessage
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)