Jump to content
  • 0

Question

Posted

Problemă întâlnită (descriere):Error
Ero(area / rile) / warning-(ul / urile):[ : error 032: array index out of bounds (variable "TextDrawSpeed")
(4635) : error 032: array index out of bounds (variable "TextDrawSpeed")
(4636) : error 032: array index out of bounds (variable "TextDrawSpeed")
(4637) : error 032: array index out of bounds (variable "TextDrawSpeed")
(4638) : error 032: array index out of bounds (variable "TextDrawSpeed")
(4639) : error 032: array index out of bounds (variable "TextDrawSpeed")
(4640) : error 032: array index out of bounds (variable "TextDrawSpeed")
(4641) : error 032: array index out of bounds (variable "TextDrawSpeed")
(4642) : error 032: array index out of bounds (variable "TextDrawSpeed")
(10954) : error 032: array index out of bounds (variable "TextDrawSpeed")
(10955) : error 032: array index out of bounds (variable "TextDrawSpeed")[/pawn]
Liniile de cod / sursa / script-ul:[pawn] TextDrawSpeed[playerid][4] = TextDrawCreate(506.000000, 164.000000, "Odometter: 33 KM");
TextDrawBackgroundColor(TextDrawSpeed[playerid][4], 255);
TextDrawFont(TextDrawSpeed[playerid][4], 1);
TextDrawLetterSize(TextDrawSpeed[playerid][4], 0.260000, 1.299999);
TextDrawColor(TextDrawSpeed[playerid][4], -1);
TextDrawSetOutline(TextDrawSpeed[playerid][4], 1);
TextDrawSetProportional(TextDrawSpeed[playerid][4], 1);
TextDrawSetSelectable(TextDrawSpeed[playerid][4], 0);[/pawn]

 

si

 

[pawn] if(newcar > PreVehicle)
{
format(string, sizeof(string), "Kilometers: %d", CarData[newcar-PreVehicle][cKM]);
TextDrawSetString(TextDrawSpeed[playerid][4], string);
TextDrawShowForPlayer(playerid, TextDrawSpeed[playerid][4]);[/pawn]
Imagini / Video (optional):/n/n
Aţi încercat să rezolvaţi singur?:Da dar tot erroarea sta imi da.

2 answers to this question

Recommended Posts

Posted

Unde l-ai definit pune asa 

 

[pawn]new Text:TextDrawSpeed[MAX_PLAYERS][5] = Text:INVALID_TEXT_DRAW;[/pawn]

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.