05-22-2008, 06:37 PM
(This post was last modified: 05-22-2008, 06:39 PM by PeterParker)
Code:
C:\DOCUME~1\Name\Desktop\name\server\GAMEMO~1\GF.pwn(7399) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Name\Desktop\name\server\GAMEMO~1\GF.pwn(7399) : error 004: function "msgtimer" is not implemented
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.shouldn't this
Code:
Random Messages:
Up the top:
[code]
forward msgtimer();
new Help[][] =
{
"Try \"/Commands\" for help.",
"Spotted a hacker? read \"/help 2\".",
"Don't use any hacks/cheats, you will be banned instantly!",
"Don't ask to be an admin!",
"English in mainchat, Use \"/pm\" to use Non-English",
"Please don't use CAPS, you will be muted!",
"Remember to obey the \"/rules\"!!",
"Don't spawn-kill, you will be bugger nutted!",
"Spotted a cheater/hacker? use /report [ID] [Report].",
"Don't door-camp (Shooting at doors) you will be bugger nutted.",
"Try \"/admins to see the online admins.",
"Never ever report cheaters in main-chat.",
"Remember to read the /rules!"
};Under OnGameModeInit:
Code:
SetTimer("msgtimer",180000,1);Somewhere except in another callback:
Code:
public msgtimer()
{
SendClientMessageToAll(COLOR_YELLOW, Help[random(sizeof(Help))]);
}
[/code]