Will this script work?
#8

To make it easyer for you
Load this as an Filterscript (create new .pwn.. complie and add [scriptname] to your filterscripts line)
pawn Код:
#include <a_samp>


new RandomMSG[][] =
{
  "Wolf bot: Are you stuck? get help (/help) ^^",
  "Wolf bot: This server is english only",
  "Wolf bot: Visit our website \"wolvez.co.cc\"",
  "Wolf bot: Wanna know who made what? find out (/credits)",
  "Wolf bot: See a cheater? report them (/report)",
  "Wolf bot: The official braduz motto \"Immah teh tech wolf round theese areas\""
};
#define FILTERSCRIPT
#define red 0xAA3333AA
new timermsg;

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Random Messages Script");
    print("--------------------------------------\n");
    timermsg = SetTimer("SendMSG", 200000, true);
    return 1;
}

public OnFilterScriptExit()
{
    KillTimer(timermsg);
    return 1;
}

#endif
forward SendMSG();
public SendMSG()
{
    new randMSG = random(sizeof(RandomMSG));
    SendClientMessageToAll(red, RandomMSG[randMSG]);
    return 1;
}
(i hate the autofix of the forum ....)
Reply


Messages In This Thread
Will this script work? - by braduz - 31.08.2009, 10:07
Re: Will this script work? - by mirkoiz - 31.08.2009, 10:16
Re: Will this script work? - by braduz - 31.08.2009, 10:18
Re: Will this script work? - by mirkoiz - 31.08.2009, 10:20
Re: Will this script work? - by braduz - 31.08.2009, 10:22
Re: Will this script work? - by mirkoiz - 31.08.2009, 10:23
Re: Will this script work? - by braduz - 31.08.2009, 10:25
Re: Will this script work? - by mirkoiz - 31.08.2009, 10:32
Re: Will this script work? - by braduz - 31.08.2009, 10:45
Re: Will this script work? - by kokkie20 - 31.08.2009, 10:49

Forum Jump:


Users browsing this thread: 1 Guest(s)