[Ajuda] TEXTDRAWS
#1

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
Reply
#2

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

^ O compilador nao liga a espaзos.


em vez da , coloque ;
Reply
#4

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;

Reply
#5

No fim em vez da , coloque ;.

Tб difнcil.........
Reply
#6

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;

Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)