SA-MP Forums Archive
Help please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help please (/showthread.php?tid=594430)



Help please - ErTitoRandom - 17.11.2015

Please help and ty
Код:
format(DDialog, sizeof(DDialog), "{FFFFFF}їCuantos aсos tienes?", NombreJugador(playerid));
ShowPlayerDialog(playerid, EDAD, DIALOG_STYLE_INPUT,""COLOR_ORANGE"Registro de Edad", DDialog,"Siguiente","");
Error:
Код:
error 001: expected token: "-string end-", but found "-identifier-
error 001: expected token: ";", but found "-string-"



Re: Help please - lucamsx - 17.11.2015

why are you using format in this case? it's not necessary, and even useless.
also try
Код:
ShowPlayerDialog(playerid, EDAD, DIALOG_STYLE_INPUT,"Registro de Edad", DDialog,"Siguiente","");



Re: Help please - ErTitoRandom - 17.11.2015

Oh xD fail
new error:
Код:
error 035: argument type mismatch (argument 4)



Re: Help please - lucamsx - 17.11.2015

code pls.


Re: Help please - ErTitoRandom - 17.11.2015

Код:
format(DDialog, sizeof(DDialog), "{FFFFFF}їCuantos aсos tienes?", NombreJugador(playerid));
ShowPlayerDialog(playerid,EDAD,DIALOG_STYLE_INPUT,COLOR_ORANGE,"Registro de Edad","Siguiente","");



Re: Help please - lucamsx - 17.11.2015

Код:
ShowPlayerDialog(playerid, EDAD, DIALOG_STYLE_INPUT, "Registro de Edad", "{FFFFFF}їCuantos aсos tienes?", "Siguiente", "");
this one should work.


Re: Help please - 1proplayer1 - 17.11.2015

show me your script