This fs returns 2 errors
#1

#include <a_samp>


new RandomMSG[][] =
{
"Wolfbot: Are you stuck? get help (/help) ^^",
"Wolfbot: add",
"Wolfbot: Have any ideas? tell me!",
"Wolfbot: Wanna know who made what? find out /credits",
"Wolfbot: See a cheater or hacker? tell the admins!",
"Wolfbot: So you will not loose the server, heres Braduz's email: braduz911@live.co.uk ""
};
#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;
}

THE ERRORS:
C:\Users\Braduz\Desktop\Server\filterscripts\wolfb ot.pwn(11) : error 037: invalid string (possibly non-terminated string)
C:\Users\Braduz\Desktop\Server\filterscripts\wolfb ot.pwn(12) : error 010: invalid function or declaration
C:\Users\Braduz\Desktop\Server\filterscripts\wolfb ot.pwn(31) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
This fs returns 2 errors - by braduz - 18.01.2010, 16:49
Re: This fs returns 2 errors - by HydraX - 18.01.2010, 16:49
Re: This fs returns 2 errors - by AiVAMAN - 18.01.2010, 16:53
Re: This fs returns 2 errors - by HydraX - 18.01.2010, 16:56
Re: This fs returns 2 errors - by AiVAMAN - 18.01.2010, 16:57
Re: This fs returns 2 errors - by braduz - 18.01.2010, 18:32
Re: This fs returns 2 errors - by AiVAMAN - 19.01.2010, 11:42

Forum Jump:


Users browsing this thread: 1 Guest(s)