SA-MP Forums Archive
Radio Textlabel Name - 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: Radio Textlabel Name (/showthread.php?tid=415352)



Radio Textlabel Name - TrionD - 12.02.2013

Hi I am Make Textlabel Radio System but this code error

new RadyoYazi[1024];
new Text3D:RadyoTanimi[1024];


Код:
C:\Documents and Settings\İlker\Desktop\brpg\filterscripts\radyosistemi.pwn(89) : error 033: array must be indexed (variable "GetPlayerNameEx")
C:\Documents and Settings\İlker\Desktop\brpg\filterscripts\radyosistemi.pwn(89) : error 033: array must be indexed (variable "RadyoTanimi")
89.

Код:
RadyoTanimi = Create3DTextLabel(RadyoYazi,0x9ACD32AA,GetPlayerNameEx(playerid)+1.0, 25, 0, 1);



Re: Radio Textlabel Name - MP2 - 12.02.2013

new Text3D:RadyoTanimi[1024];

That is an array with 1024 indexes.

RadyoTanimi = Create3DTextLabel(...)

You're trying to assign it to a variable. It's an array. As for GetPlayerNameEx - show the function.