SA-MP Forums Archive
3Dlabel Error - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 3Dlabel Error (/showthread.php?tid=145274)



3Dlabel Error - Bomber - 01.05.2010

C:\--------------\SeifAdmin.pwn(811) : error 017: undefined symbol "attach3DTextLabelToPlayer"
C:\--------------\SeifAdmin.pwn(810) : warning 204: symbol is assigned a value that is never used: "admin"
C:/---------------\SeifAdmin.pwn(2987) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

pawn Код:
public OnPlayerSpawn(playerid)
{
if (IsPlayerAdmin(playerid) || AccountInfo[playerid][AdminLevel] >= 1)
{
new Text3D:admin;
admin = Create3DTextLabel("ADMIN",YELLOW,0.0,0.0,2.0,160.0,0,0);
attach3DTextLabelToPlayer(admin,playerid,0.0,0.0,0.5);
}
return 1;
}
These are the lines


Re: 3Dlabel Error - SloProKiller - 01.05.2010

Attach3DTextLabelToPlayer not attach3DTextLabelToPlayer.


Re: 3Dlabel Error - Bomber - 01.05.2010

Yea
Thanks !