Erro com texto nos admins -
Vinicius_TroLL - 01.12.2012
Erros
pawn Код:
41788 : error 028: invalid subscript (not an array or too many subscripts): "AdminText"
41788 : warning 215: expression has no effect
41788 : error 001: expected token: ";", but found "]"
41788 : error 029: invalid expression, assumed zero
41788 : fatal error 107: too many error messages on one line
Erros
pawn Код:
AdminText[playerid] = Create3DTextLabel("|Adm| Em Serviзo\nPosso ajudalo Senhor?!",COLOR_YELLOW,0.0,0.0,0.0,0.0,1);
Codes completo
pawn Код:
if(PlayerInfo[playerid][pAdmin] < 1)
{
new Text3D:AdminText;
AdminText[playerid] = Create3DTextLabel("|Adm| Em Serviзo\nPosso ajudalo Senhor?!",COLOR_YELLOW,0.0,0.0,0.0,0.0,1);
Attach3DTextLabelToPlayer(AdminText[playerid], playerid, 0.0, 0.0, 0.75);
}
Re: Erro com texto nos admins -
@Riichard - 01.12.2012
pawn Код:
new
Text3D:AdminText[MAX_PLAYERS]
;
Re : Erro com texto nos admins -
ipsBruno - 01.12.2012
Й
PHP код:
new Text3D:AdminText[MAX_PLAYERS];
Re: Erro com texto nos admins -
Vinicius_TroLL - 01.12.2012
Not results
pawn Код:
41788 : error 033: array must be indexed (variable "AdminText")
pawn Код:
AdminText = Create3DTextLabel("|Adm| Em Serviзo\nPosso ajudalo Senhor?!",COLOR_YELLOW,0.0,0.0,0.0,0.0,1);
Re: Erro com texto nos admins -
@Riichard - 01.12.2012
palmface.
pawn Код:
if(PlayerInfo[playerid][pAdmin] < 1)
{
new
Text3D:AdminText[MAX_PLAYERS]
;
AdminText[playerid] = Create3DTextLabel("|Adm| Em Serviзo\nPosso ajudalo Senhor?!", COLOR_YELLOW, 0.0, 0.0, 0.0, 0.0, 1);
Attach3DTextLabelToPlayer(AdminText[playerid], playerid, 0.0, 0.0, 0.75);
}
Re : Erro com texto nos admins -
ipsBruno - 01.12.2012
Puts mano.
pawn Код:
if(PlayerInfo[playerid][pAdmin] < 1)
{
new Text3D:AdminText;
AdminText = Create3DTextLabel("|Adm| Em Serviзo\nPosso ajudalo Senhor?!",COLOR_YELLOW,0.0,0.0,0.0,0.0,1);
Attach3DTextLabelToPlayer(AdminText, playerid, 0.0, 0.0, 0.75);
}
Usa este meu, nгo hб sentido criar
MAX_PLAYERS (800 ?) variбveis a mais
Re: Erro com texto nos admins -
Vinicius_TroLL - 01.12.2012
Copilo normal e coloquei na public onplayerconnect mais nao aparece nos adms
Re : Erro com texto nos admins -
ipsBruno - 01.12.2012
Coloca em
OnPlayerSpawn, e teste.
Re: Erro com texto nos admins -
Vinicius_TroLL - 01.12.2012
n foi
Re: Erro com texto nos admins -
BreakDriFT - 01.12.2012
Se nгo me engano, vocк nгo consegue ver mesmo.