SA-MP Forums Archive
Error 008 Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error 008 Help (/showthread.php?tid=499283)



{SOLVED} - daminOwens - 07.03.2014

hey got this code not understanding whats wrong heres the code getting Error Help

Код:
new result[128];
new number[MAX_PLAYERS] = playerid; // I believe its with this line 
format(result,sizeof(result), "%i.",number);
new Text3D:PlayerLabel[MAX_PLAYERS];
PlayerLabel[playerid] = Create3DTextLabel(result, 0xFFFFFFAA, 10.0, 20.0, 40.0, 20.0, 0);
Attach3DTextLabelToPlayer(PlayerLabel[playerid], playerid, 0.0, 0.0, 0.7);
thanks