*** Terrible Title Removed
#1

PHP код:
public RandomMessage()
{
        
TextDrawSetString(Text1RandomMessages[random(sizeof(RandomMessages))]); // We need this to make the timer working
        
return 1;

Код:
E:\ALL SETUPS\SAMP NEEDs\samp03e_svr_R2_win32\gamemodes\ImpulsiveX.pwn(171) : error 017: undefined symbol "RandomMessages"
E:\ALL SETUPS\SAMP NEEDs\samp03e_svr_R2_win32\gamemodes\ImpulsiveX.pwn(171) : error 017: undefined symbol "RandomMessages"
E:\ALL SETUPS\SAMP NEEDs\samp03e_svr_R2_win32\gamemodes\ImpulsiveX.pwn(171) : error 029: invalid expression, assumed zero
E:\ALL SETUPS\SAMP NEEDs\samp03e_svr_R2_win32\gamemodes\ImpulsiveX.pwn(171) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Wht is wrong in it??

this is my random message in gamemodeinit
PHP код:
new Text:Text1;
forward RandomMessage();
public 
RandomMessage()
{
        
TextDrawSetString(Text1RandomMessages[random(sizeof(RandomMessages))]); // We need this to make the timer working
        
return 1;
}
new 
RandomMessages[][] =
{
    
"",
    
"~y~Community Name: ~w~Your Text ~r~here.",
    
"~y~Community Name: ~w~Your Text ~y~here.",
    
"~y~Community Name: ~w~Your Text ~b~here."
};
//Ongamemodeinit
SetTimer("RandomMessage",5000,1);
///My textdraw for randommessage
Text1 TextDrawCreate(0,412.4," ");
    
TextDrawFont(Text1 2);
    
TextDrawLetterSize(Text1 0.30.9);
    
TextDrawColor(Text10xFFFFFFFF);
    
TextDrawSetOutline(Text1 1);
    
TextDrawSetProportional(Text1 1);
    
TextDrawSetShadow(Text13);
    
TextDrawBackgroundColor(Text1,0x000000FF); 
Wht is wrong?
Reply


Messages In This Thread
*** Terrible Title Removed - by Gamer_007 - 24.10.2012, 11:13
Re: new problem - by JaKe Elite - 24.10.2012, 11:18
Re: new problem - by Gamer_007 - 24.10.2012, 11:20

Forum Jump:


Users browsing this thread: 1 Guest(s)