Posts: 59
Threads: 20
Joined: Jan 2013
Reputation:
0
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?
Posts: 52
Threads: 9
Joined: Jan 2012
Reputation:
0
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.
Posts: 59
Threads: 20
Joined: Jan 2013
Reputation:
0
but I invite a friend and he told me not appear sent me pictures and everything and is a omismo can not see it
Posts: 59
Threads: 20
Joined: Jan 2013
Reputation:
0
but it appears that all I need to q me aparesca admin
Posts: 59
Threads: 20
Joined: Jan 2013
Reputation:
0
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);
Posts: 59
Threads: 20
Joined: Jan 2013
Reputation:
0
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);
Posts: 59
Threads: 20
Joined: Jan 2013
Reputation:
0
OnPlayerSpawn add it in as you said so long and I do not get error