SA-MP Forums Archive
[Ajuda] Dialog - 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] Dialog (/showthread.php?tid=263293)



[Ajuda] Dialog - pr0bscur3 - 21.06.2011

o que tem de errado,

pawn Код:
if(CpLocal1)
    {
     DisablePlayerCheckpoint(playerid);
     TogglePlayerControllable(playerid, false);
     SetPlayerCameraLookAt(playerid,1350.7030,-1757.6342,13.5078);
     ShowPlayerDialog(playerid, DIALOGO_TUTO1, DIALOG_STYLE_MSGBOX, "Olб", "Olб", "Avanзar", "Fechar");
     return 1;
    }
da esses erros na linha do ShowPlayerDialog,

pawn Код:
C:\Users\Igor\Desktop\Aspire Games\Samp Server 0.3c\gamemodes\AspireGames.pwn(320) : error 029: invalid expression, assumed zero
C:\Users\Igor\Desktop\Aspire Games\Samp Server 0.3c\gamemodes\AspireGames.pwn(320) : warning 215: expression has no effect
C:\Users\Igor\Desktop\Aspire Games\Samp Server 0.3c\gamemodes\AspireGames.pwn(320) : warning 215: expression has no effect
C:\Users\Igor\Desktop\Aspire Games\Samp Server 0.3c\gamemodes\AspireGames.pwn(320) : warning 215: expression has no effect
C:\Users\Igor\Desktop\Aspire Games\Samp Server 0.3c\gamemodes\AspireGames.pwn(320) : warning 215: expression has no effect
C:\Users\Igor\Desktop\Aspire Games\Samp Server 0.3c\gamemodes\AspireGames.pwn(320) : warning 215: expression has no effect
C:\Users\Igor\Desktop\Aspire Games\Samp Server 0.3c\gamemodes\AspireGames.pwn(320) : error 001: expected token: ";", but found ")"
C:\Users\Igor\Desktop\Aspire Games\Samp Server 0.3c\gamemodes\AspireGames.pwn(320) : error 029: invalid expression, assumed zero
C:\Users\Igor\Desktop\Aspire Games\Samp Server 0.3c\gamemodes\AspireGames.pwn(320) : 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.



Re: [Ajuda] Dialog - Macintosh - 21.06.2011

pawn Код:
if(CpLocal1[playerid] == 1)
    {
     DisablePlayerCheckpoint(playerid);
     TogglePlayerControllable(playerid, false);
     SetPlayerCameraLookAt(playerid,1350.7030,-1757.6342,13.5078);
     ShowPlayerDialog(playerid, DIALOGO_TUTO1, DIALOG_STYLE_MSGBOX, "Olб", "Olб", "Avanзar", "Fechar");
     return 1;
    }



Re: [Ajuda] Dialog - pr0bscur3 - 21.06.2011

nгo й isso, os erros estгo na linha do ShowPlayerDialog


Re: [Ajuda] Dialog - Dr_Pawno - 21.06.2011

Os erros nгo estгo nestas linhas .-.


Re: [Ajuda] Dialog - pr0bscur3 - 21.06.2011

ta sim, na linha 320 que seria a linha do ShowPlayerDialog, :S:S


Re: [Ajuda] Dialog - Dr_Pawno - 21.06.2011

Procure por DIALOGO_TUTO1 e mande as linhas proximas pra noiz.


Re: [Ajuda] Dialog - Ricop522 - 21.06.2011

PHP код:
ShowPlayerDialog(playerid,DIALOGO_TUTO1DIALOG_STYLE_MSGBOX"OLБ","Olб""Avanзar""Fechar"); 
Aqui compilou.


Re: [Ajuda] Dialog - pr0bscur3 - 21.06.2011

pawn Код:
#define DIALOGO_TUTO1
й so o define, e no showplayerdialog


Re: [Ajuda] Dialog - SuB_ZeRo0_ - 21.06.2011

Quote:
Originally Posted by pr0bscur3
Посмотреть сообщение
pawn Код:
#define DIALOGO_TUTO1
й so o define, e no showplayerdialog
A define nгo tem nъmeros depois?

Obs: Se o erro nгo for na define, deve ter sido em uma linha acima do cуdigo que vocк esqueceu um ;


Re: [Ajuda] Dialog - Macintosh - 21.06.2011

pawn Код:
#define DIALOGO_TUTO1 666
This forum requires that you wait 120 seconds between posts. Please try again in 66 seconds. O.o