31.12.2014, 23:12
Hello Guys
i Have Problems Error
all line
i Have Problems Error
Quote:
D:\da\filterscripts\fuel.pwn(19) : error 032: array index out of bounds (variable "Textdraw2") D:\da\filterscripts\fuel.pwn(20) : error 032: array index out of bounds (variable "Textdraw2") D:\da\filterscripts\fuel.pwn(21) : error 032: array index out of bounds (variable "Textdraw2") D:\da\filterscripts\fuel.pwn(22) : error 032: array index out of bounds (variable "Textdraw2") D:\da\filterscripts\fuel.pwn(23) : error 035: argument type mismatch (argument 1) D:\da\filterscripts\fuel.pwn(24) : error 032: array index out of bounds (variable "Textdraw2") D:\da\filterscripts\fuel.pwn(25) : error 032: array index out of bounds (variable "Textdraw2") |
PHP код:
Textdraw2[MAX_PLAYERS] = TextDrawCreate(120.000000, 434.000000, "Fuel:");
TextDrawBackgroundColor(Textdraw2[MAX_PLAYERS], 255);
TextDrawFont(Textdraw2[MAX_PLAYERS], 1);
TextDrawLetterSize(Textdraw2[MAX_PLAYERS], 0.360000, 1.100000);
TextDrawColor(Textdraw2, 107731199);
TextDrawSetOutline(Textdraw2[MAX_PLAYERS], 1);
TextDrawSetProportional(Textdraw2[MAX_PLAYERS], 1);
PHP код:
new Text:Textdraw2[MAX_PLAYERS];