[Ajuda] Dialog bugando.
#1

Olб, bom venho aqui pedir uma ajuda, por que meu GM estб com um bug, nгo consigo resolver esse bug, й com dialogs, no comando estб tudo correto, porйm quando compilo mostra vбrios erros, e nгo tem nada de errado no cуdigo, veja:
PHP код:
/*===================[ ComandosCasa ]==============*/
CMD:comandoscasa (playerid)
{
    new 
string[500];
    
strcat(string"{00FF8F}/InfoCasa - {0097FF}Veja Informaзхes De Uma Casa!\n");
    
strcat(string"{00FF8F}/Casa - {0097FF}Opзхes Da Casa!\n");
    
strcat(string"{00FF8F}/ComprarCasa - {0097FF}Compra Uma Casa!\n");
    
strcat(string"{00FF8F}/VenderCasa - {0097FF}Venda Sua Casa!\n");
    
strcat(string"{00FF8F}/MinhaCasa - {0097FF}Marca GPS Em Sua Casa!\n");
    
ShowPlayerDialog(playeridDialog_CCasaDIALOG_STYLE_MSGBOX"{0097FF}Comandos Casa"string"OK""");
    return 
1;

Da os seguintes erros:
pawn Код:
C:\Users\Allan\Desktop\Developer\gamemodes\GM.pwn(10193) : error 029: invalid expression, assumed zero
C:\Users\Allan\Desktop\Developer\gamemodes\GM.pwn(10193) : warning 215: expression has no effect
C:\Users\Allan\Desktop\Developer\gamemodes\GM.pwn(10193) : warning 215: expression has no effect
C:\Users\Allan\Desktop\Developer\gamemodes\GM.pwn(10193) : warning 215: expression has no effect
C:\Users\Allan\Desktop\Developer\gamemodes\GM.pwn(10193) : warning 215: expression has no effect
C:\Users\Allan\Desktop\Developer\gamemodes\GM.pwn(10193) : warning 215: expression has no effect
C:\Users\Allan\Desktop\Developer\gamemodes\GM.pwn(10193) : error 001: expected token: ";", but found ")"
C:\Users\Allan\Desktop\Developer\gamemodes\GM.pwn(10193) : error 029: invalid expression, assumed zero
C:\Users\Allan\Desktop\Developer\gamemodes\GM.pwn(10193) : 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.
todos na linha
PHP код:
ShowPlayerDialog(playeridDialog_CCasaDIALOG_STYLE_MSGBOX"{0097FF}Comandos Casa"string"OK"""); 
Jб tentei mudar o nome da define para o dialog, o nome da string, e tambйm jб tentei compilar em outro GM, funcionou em outro GM, porйm neste nгo.. (O outro GM era uma versгo mais antiga da atual).
Reply


Messages In This Thread
Dialog bugando. - by AllanSG - 25.05.2018, 18:38
Re: Dialog bugando. - by uliano - 25.05.2018, 18:56
Re: Dialog bugando. - by 1sbedx - 25.05.2018, 18:57
Re: Dialog bugando. - by 1sbedx - 25.05.2018, 19:01
Re: Dialog bugando. - by F1N4L - 25.05.2018, 19:01
Foi mal, Fui burro Nisso - by uliano - 25.05.2018, 19:02
Re: Dialog bugando. - by AllanSG - 25.05.2018, 20:20
Re: Dialog bugando. - by AutoMatic2 - 25.05.2018, 20:31

Forum Jump:


Users browsing this thread: 2 Guest(s)