[Ajuda] TextDraws
#1

Nao Sei Oque Estб Acontecendo
PHP код:
public OnPlayerConnect(playerid)
{
    
LoginClicar[playerid] = CreatePlayerTextDraw(playerid,195.000000140.000000"Logar");
    
PlayerTextDrawFont(playerid,Login_Clicar[playerid], 1);
    
LoginClicar1[playerid] = CreatePlayerTextDraw(playerid,183.000000161.000000"Registrar");
    
PlayerTextDrawFont(playerid,Login_Clicar1[playerid], 1);
    
LoginClicar2[playerid] = CreatePlayerTextDraw(playerid,180.000000184.000000"Recuperar");
    
PlayerTextDrawFont(playerid,Login_Clicar2[playerid], 1);
    
LoginClicar3[playerid] = CreatePlayerTextDraw(playerid,191.000000206.000000"Regras");
    
PlayerTextDrawFont(playerid,Login_Clicar3[playerid], 1);
    
LoginClicar4[playerid] = CreatePlayerTextDraw(playerid,187.000000228.000000"Creditos");
    
PlayerTextDrawFont(playerid,Login_Clicar4[playerid], 1);
    
LoginClicar5[playerid] = CreatePlayerTextDraw(playerid,199.000000249.000000"Sair");
    
PlayerTextDrawFont(playerid,Login_Clicar5[playerid], 1);
//Fim
//Selecionar TextDraws
     
PlayerTextDrawSetSelectable(playerid,welcomeText[playerid], true);
     
SelectTextDraw(playerid0x00FF00FF);
     
PlayerTextDrawSetSelectable(playerid,LoginClicar[playerid], true);
     
SelectTextDraw(playerid0x00FF00FF);
     
PlayerTextDrawSetSelectable(playerid,LoginClicar1[playerid], true);
     
SelectTextDraw(playerid0x00FF00FF);
     
PlayerTextDrawSetSelectable(playerid,LoginClicar2[playerid], true);
     
SelectTextDraw(playerid0x00FF00FF);
     
PlayerTextDrawSetSelectable(playerid,LoginClicar3[playerid], true);
     
SelectTextDraw(playerid0x00FF00FF);
     
PlayerTextDrawSetSelectable(playerid,LoginClicar4[playerid], true);
     
SelectTextDraw(playerid0x00FF00FF);
     
PlayerTextDrawSetSelectable(playerid,LoginClicar5[playerid], true);
     
SelectTextDraw(playerid0x00FF00FF); 
Erros
PHP код:
C:\Users\Usuario\Desktop\Pastas\Samp\THE DM\gamemodes\thedm.pwn(1710) : error 028invalid subscript (not an array or too many subscripts): "LoginClicar"
C:\Users\Usuario\Desktop\Pastas\Samp\THE DM\gamemodes\thedm.pwn(1710) : warning 215expression has no effect
C
:\Users\Usuario\Desktop\Pastas\Samp\THE DM\gamemodes\thedm.pwn(1710) : error 001expected token";"but found "]"
C:\Users\Usuario\Desktop\Pastas\Samp\THE DM\gamemodes\thedm.pwn(1710) : error 029invalid expressionassumed zero
C
:\Users\Usuario\Desktop\Pastas\Samp\THE DM\gamemodes\thedm.pwn(1710) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

@Edit
Reply
#2

ja resolvi ..
Reply


Forum Jump:


Users browsing this thread: