[Ajuda] Dialog
#1

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

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;
    }
Reply
#3

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

Os erros nгo estгo nestas linhas .-.
Reply
#5

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

Procure por DIALOGO_TUTO1 e mande as linhas proximas pra noiz.
Reply
#7

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

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

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 ;
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)