error 028: invalid subscript (not an array or too many subscripts)
#1

Код:
   PlayerTextDrawSetString(playerid, Speedo[playerid], string);
Reply
#2

Are you sure "Speedo[playerid]" is defined as a PlayerText?

pawn Код:
new PlayerText:Speedo[MAX_PLAYERS];
Reply
#3

Thanks it worked.
When I enter a vehicle the speedometer does not show up?

Код:
public Speedometer(playerid)
Reply
#4

Did you even show it to the player? lol

https://sampwiki.blast.hk/wiki/PlayerTextDrawShow
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)