new RandomMSG[][] = { "Wolf bot: Are you stuck? get help (/help) ^^", "Wolf bot: This server is english only", "Wolf bot: Visit our website www.wolvez.co.cc", "Wolf bot: Wanna know who made what? find out (/credits)", "Wolf bot: See a cheater? report them (/report)", "Wolf bot: meh" }; SetTimer("SendMSG", 200000, true); forward SendMSG(); public SendMSG() { } new randMSG = random(sizeof(RandomMSG)); SendClientMessageToAll(red, RandomMSG[randMSG]);
new randMSG = random(sizeof(RandomMSG));
SendClientMessageToAll(red, RandomMSG[randMSG]);
public SendMSG()
{
}
public SendMSG()
{
new randMSG = random(sizeof(RandomMSG));
SendClientMessageToAll(red, RandomMSG[randMSG]);
}
"Wolf bot: Visit our website http://www.wolvez.co.cc[url=http://]",
"Wolf bot: Visit our website http://www.wolvez.co.cc[url=http://]",
Originally Posted by ►☺◄©ookie►☺◄
pawn Код:
pawn Код:
like this pawn Код:
|
new RandomMSG[][] = { "Wolf bot: Are you stuck? get help (/help) ^^", "Wolf bot: This server is english only", "Wolf bot: Visit our website www.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" }; SetTimer("SendMSG", 200000, true); forward SendMSG(); public SendMSG() { new randMSG = random(sizeof(RandomMSG)); SendClientMessageToAll(red, RandomMSG[randMSG]); }
Originally Posted by ►☺◄©ookie►☺◄
2. post edited...
You already send the message in color red ![]() |
Originally Posted by braduz
...define? all ive done is in the code
|
#define red 0xAA3333AA
new RandomMSG[][] =
{
"Wolf bot: Are you stuck? get help (/help) ^^",
"Wolf bot: This server is english only",
"Wolf bot: Visit our website http://www.wolvez.co.cc[url=http://][/url]",
"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"
};
SetTimer("SendMSG", 200000, true);
forward SendMSG();
public SendMSG()
{
new randMSG = random(sizeof(RandomMSG));
SendClientMessageToAll(red, RandomMSG[randMSG]);
}
Originally Posted by ►☺◄©ookie►☺◄
pawn Код:
pawn Код:
like this pawn Код:
pawn Код:
![]() 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;
}
Originally Posted by ►☺◄©ookie►☺◄
To make it easyer for you
![]() Load this as an Filterscript (create new .pwn.. complie and add [scriptname] to your filterscripts line) pawn Код:
|