SA-MP Forums Archive
[Ajuda] TEXTDRAWS - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] TEXTDRAWS (/showthread.php?tid=582221)



TEXTDRAWS - JuniorTheDM - 19.07.2015

PHP код:
    PlayerTextDrawShow(playeridINFO[0] [playerid]),
    
PlayerTextDrawShow(playeridINFO[1] [playerid]),
    
PlayerTextDrawShow(playeridINFO[2] [playerid]),
    
PlayerTextDrawShow(playeridINFO[3] [playerid]),
    
PlayerTextDrawShow(playeridINFO[4] [playerid]),
    
PlayerTextDrawShow(playeridINFO[5] [playerid]),
    
PlayerTextDrawShow(playeridINFO[6] [playerid]),
    
PlayerTextDrawShow(playeridINFO[7] [playerid]),
    
PlayerTextDrawShow(playeridINFO[8] [playerid]); 
PHP код:
C:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(120) : error 001expected token","but found "["
C:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(120) : error 029invalid expressionassumed zero
C
:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(120) : warning 215expression has no effect
C
:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(120) : error 001expected token";"but found "]"
C:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(120) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Ja tirei o [playerid] mais dai a text nao aparece


Re: TEXTDRAWS - bruxo00 - 19.07.2015

Apagar os espaзos entre o [INFO][x][playerid] e no fim й ; e nгo , .


Re: TEXTDRAWS - PT - 19.07.2015

^ O compilador nao liga a espaзos.


em vez da , coloque ;


Re: TEXTDRAWS - JuniorTheDM - 19.07.2015

nao Foi So Aparece Quando Digita um CMD
PHP код:
CMD:aparece(playerid){
    
PlayerTextDrawShow(playeridINFO[0]),
    
PlayerTextDrawShow(playeridINFO[1]),
    
PlayerTextDrawShow(playeridINFO[2]),
    
PlayerTextDrawShow(playeridINFO[3]),
    
PlayerTextDrawShow(playeridINFO[4]),
    
PlayerTextDrawShow(playeridINFO[5]),
    
PlayerTextDrawShow(playeridINFO[6]),
    
PlayerTextDrawShow(playeridINFO[7]),
    
PlayerTextDrawShow(playeridINFO[8]);
    return 
1;




Re: TEXTDRAWS - bruxo00 - 19.07.2015

No fim em vez da , coloque ;.

Tб difнcil.........


Re: TEXTDRAWS - JuniorTheDM - 19.07.2015

Acabei de fazer isso Nao Foi
PHP код:
public OnPlayerSpawn(playerid)
{
    
PlayerTextDrawShow(playerid,INFO[0]);
    
PlayerTextDrawShow(playerid,INFO[1]);
    
PlayerTextDrawShow(playerid,INFO[2]);
    
PlayerTextDrawShow(playerid,INFO[3]);
    
PlayerTextDrawShow(playerid,INFO[4]);
    
PlayerTextDrawShow(playerid,INFO[5]);
    
PlayerTextDrawShow(playerid,INFO[6]);
    
PlayerTextDrawShow(playerid,INFO[7]);
    
PlayerTextDrawShow(playerid,INFO[8]);
    
CarregarSkin(playerid);
    
SetPlayerInterior(playerid,0);
    return 
1;