Detaljan opis problema: Pokusao sam napraviti InfoText skriptu i sada sam nesto smuljao i dobio 8 errora? Moze pomoci neko?
Dio skripte:
D:\Users\Salipur\Desktop\Infernal Gaming\filterscripts\Psystem.pwn(45) : error 017: undefined symbol "InfoTextDrawID"
D:\Users\Salipur\Desktop\Infernal Gaming\filterscripts\Psystem.pwn(45) : warning 215: expression has no effect
D:\Users\Salipur\Desktop\Infernal Gaming\filterscripts\Psystem.pwn(49) : error 017: undefined symbol "InfoTextDraw"
D:\Users\Salipur\Desktop\Infernal Gaming\filterscripts\Psystem.pwn(50) : error 017: undefined symbol "InfoTextDraw"
D:\Users\Salipur\Desktop\Infernal Gaming\filterscripts\Psystem.pwn(51) : error 017: undefined symbol "InfoTextDraw"
D:\Users\Salipur\Desktop\Infernal Gaming\filterscripts\Psystem.pwn(52) : error 017: undefined symbol "InfoTextDraw"
D:\Users\Salipur\Desktop\Infernal Gaming\filterscripts\Psystem.pwn(53) : error 017: undefined symbol "InfoTextDraw"
D:\Users\Salipur\Desktop\Infernal Gaming\filterscripts\Psystem.pwn(54) : error 017: undefined symbol "TexDrawSetProportional"
D:\Users\Salipur\Desktop\Infernal Gaming\filterscripts\Psystem.pwn(55) : error 017: undefined symbol "InfoTextDraw"
D:\Users\Salipur\Desktop\Infernal Gaming\filterscripts\Psystem.pwn(57) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
Pod OnGameModeInit
//---------------------------------------------------------
InfoTextDrawID = 0;
SetTimer("InfoTextDraw_Update", UPDATE_TEXT*1000, 1);
//--------------------------------------------------------
//TextDraw izrada //
InfoTextDraw = TextDrawCreate(3,437," ");
TextDrawLetterSize(InfoTextDraw, 0.249999,1.000000
TextDrawBackgroundColor(InfoTextDraw,0x000000FF);
TextDrawFont(InfoTextDraw,1);
TextDrawUseBox(InfoTextDraw,0);
TexDrawSetProportional(InfoTextDraw,1);
TextDrawSetShadow(InfoTextDraw,1);
//-------------------------------------------------------------
return 1;
}Define i Forward
// Define //
#define MAX_TEXT 10
#define UPDATE_TEXT 10
//-----------------------------------------------------------------
// Forwards //
forward InfoTextDraw_Update ();Neke slike/video za lakse dobivanje pomoci(neobavezno):
