How to fix this error in gamemode
#1

pawn Код:
//------------------------------------NewsLine----------------------------------
new news[][] =
{
    "[]Server Owners [RB]ReD_DeViL ",
    "[ ] Stay Online With Our Server [ ]",
    "[ ] Play As Much You Want [ ]",
    "[ ] Mapper Is [RB]ReD_DeViL [ ]",
};
public Nupdate ()
{
static Number = 0;
TextDrawSetString(Ntick, news[Number++]);
TextDrawShowForAll(Ntick);
if(Number == sizeof(news)) Number = 0;
return 1;
}
i made it like this then it happen

C:\Documents and Settings\Administrator\My Documents\NRGaming V.4\gamemodes\NRG[V.4.0].pwn(37225) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\My Documents\NRGaming V.4\gamemodes\NRG[V.4.0].pwn(37225) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

please say fast
Reply


Messages In This Thread
How to fix this error in gamemode - by FiReMaNStone - 18.10.2013, 13:03
Re: How to fix this error in gamemode - by qazwsx - 18.10.2013, 13:05
Re: How to fix this error in gamemode - by FiReMaNStone - 18.10.2013, 13:09
Re: How to fix this error in gamemode - by newbie scripter - 18.10.2013, 13:42
Re: How to fix this error in gamemode - by AnonScripter - 18.10.2013, 14:13
Re: How to fix this error in gamemode - by FiReMaNStone - 18.10.2013, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)