SA-MP Forums Archive
[HELP]Create3DTextLabel - 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: [HELP]Create3DTextLabel (/showthread.php?tid=504018)



[HELP]Create3DTextLabel - Bocha - 01.04.2014

hello friends I have a problem, I have this code that you aparese Create3DTextLabel when you moderator or admin assistant.

I put it in OnPlayerConnect

switch(PlayerInfo[playerid][Level])
{
case 1 .. 2:
{
EsAdmin[playerid] = Create3DTextLabel("** Ayudante **",0x0080FFFF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(EsAdmin[playerid], playerid, 0.0, 0.0, 0.6);
}
case 3 .. 4:
{
EsAdmin[playerid] = Create3DTextLabel("** Moderador **",0xFF8000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(EsAdmin[playerid], playerid, 0.0, 0.0, 0.6);
}
case 5 .. 8:
{
EsAdmin[playerid] = Create3DTextLabel("** Administrador **",0xFF0000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(EsAdmin[playerid], playerid, 0.0, 0.0, 0.6);
}
}

but not seen, as I meet?


Re: [HELP]Create3DTextLabel - CroM256 - 01.04.2014

All players can see 3D text, but player who has attached 3D Text can't see it. So you need more people to test that.


Respuesta: [HELP]Create3DTextLabel - Bocha - 01.04.2014

but I invite a friend and he told me not appear sent me pictures and everything and is a omismo can not see it


Re: [HELP]Create3DTextLabel - CroM256 - 01.04.2014

If I'm right, you missed one number on the end of Create3DTextLabel
https://sampwiki.blast.hk/wiki/Create3DTextLabel


Re: [HELP]Create3DTextLabel - Parallex - 01.04.2014

CroM256, that thing you are saying is different from Attach3DTextLabel. The Create3DTextLabel places a 3D Text Label on a place, whereas Attach 3D Text Label does it on a player's body part. So, here is the correct one:
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer


Respuesta: [HELP]Create3DTextLabel - Bocha - 01.04.2014

but it appears that all I need to q me aparesca admin


Respuesta: [HELP]Create3DTextLabel - Bocha - 01.04.2014

I get 2 errors

C:\Users\Usuario\Desktop\The walking dead Primera Temporada\gamemodes\Thewalkingdead.pwn(530) : error 017: undefined symbol "playerid"
C:\Users\Usuario\Desktop\The walking dead Primera Temporada\gamemodes\Thewalkingdead.pwn(1853) : error 017: undefined symbol "UpdateDraw"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Line

530 - AdminLabel[playerid] = Create3DTextLabel("_",0xFFFFFFFF,30.0,40.0,50.0,40 .0,0);
1853 - UpdateDraw(playerid);


Respuesta: [HELP]Create3DTextLabel - Bocha - 01.04.2014

C:\Users\Usuario\Desktop\The walking dead Primera Temporada\gamemodes\Thewalkingdead.pwn(532) : error 001: expected token: ",", but found "."
C:\Users\Usuario\Desktop\The walking dead Primera Temporada\gamemodes\Thewalkingdead.pwn(532) : error 029: invalid expression, assumed zero
C:\Users\Usuario\Desktop\The walking dead Primera Temporada\gamemodes\Thewalkingdead.pwn(532) : warning 215: expression has no effect
C:\Users\Usuario\Desktop\The walking dead Primera Temporada\gamemodes\Thewalkingdead.pwn(532) : warning 215: expression has no effect
C:\Users\Usuario\Desktop\The walking dead Primera Temporada\gamemodes\Thewalkingdead.pwn(532) : error 001: expected token: ";", but found ")"
C:\Users\Usuario\Desktop\The walking dead Primera Temporada\gamemodes\Thewalkingdead.pwn(532) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Line

532 - AdminLabel[playerid] = Create3DTextLabel("_",0xFFFFFFFF,30.0,40.0,50.0,40 .0,0);


Respuesta: [HELP]Create3DTextLabel - Bocha - 01.04.2014

was reduced to 1 error but this error is ...

C:\Users\Usuario\Desktop\The walking dead Primera Temporada\gamemodes\Thewalkingdead.pwn(183 : error 017: undefined symbol "UpdateDraw"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Line:
UpdateDraw(playerid);


Respuesta: [HELP]Create3DTextLabel - Bocha - 01.04.2014

OnPlayerSpawn add it in as you said so long and I do not get error