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") |
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);
new Text:Textdraw2[MAX_PLAYERS];
Textdraw2[playerid] = TextDrawCreate(120.000000, 434.000000, "Fuel:");
TextDrawBackgroundColor(Textdraw2[playerid], 255);
TextDrawFont(Textdraw2[playerid], 1);
TextDrawLetterSize(Textdraw2[playerid], 0.360000, 1.100000);
TextDrawColor(Textdraw2[playerid], 107731199);
TextDrawSetOutline(Textdraw2[playerid], 1);
TextDrawSetProportional(Textdraw2[playerid], 1);