[Ajuda] TEXTDRAWS
#1

PHP код:
    PlayerTextDrawShow(playerid, INFO[0] [playerid]),
    
PlayerTextDrawShow(playerid, INFO[1] [playerid]),
    
PlayerTextDrawShow(playerid, INFO[2] [playerid]),
    
PlayerTextDrawShow(playerid, INFO[3] [playerid]),
    
PlayerTextDrawShow(playerid, INFO[4] [playerid]),
    
PlayerTextDrawShow(playerid, INFO[5] [playerid]),
    
PlayerTextDrawShow(playerid, INFO[6] [playerid]),
    
PlayerTextDrawShow(playerid, INFO[7] [playerid]),
    
PlayerTextDrawShow(playerid, INFO[8] [playerid]); 
PHP код:
C:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(120) : error 001: expected token: ",", but found "["
C:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(120) : error 029: invalid expression, assumed zero
C
:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(120) : warning 215: expression has no effect
C
:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(120) : error 001: expected token: ";", but found "]"
C:\Users\Usuario\Desktop\SV\gamemodes\TEST.pwn(120) : fatal error 107: too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB 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(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]);
    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: 2 Guest(s)