[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(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
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(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;
}
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;
}