SA-MP Forums Archive
[HELP] with dialog thing - 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] with dialog thing (/showthread.php?tid=330343)



[HELP] with dialog thing - Stefand - 01.04.2012

Hello,
I have downloaded SFCRRPG
but i came in another server and they had the rob window changed and i like that.
So i was trying to change it myself but that gave alot of bugs so i thought maybe someone can help.

This is the window in my server.


This does it have to be.


This is the pawno thing from in my server.

pawn Код:
SchoolRobbedRecently =320;
            RobbingSchool[playerid] =25;
            IncreaseWantedLevel(playerid,4);
            IncreasePlayerScore(playerid,1);
            format(string,sizeof(string),"Robbing Driving School.\nFinish Robbery in: %d seconds.\nPolice are on the way.",RobbingSchool[playerid]);
            ShowPlayerDialog(playerid,DIALOG_SCHOOL,DIALOG_STYLE_MSGBOX,"{FF0000}Driving School Robbery",string,"Ok","Cancel");

Please help me


AW: [HELP] with dialog thing - dalkgamler - 01.04.2012

Show the error code


Re: [HELP] with dialog thing - SpiritEvil - 01.04.2012

That is not a dialog, that is a textdraw. I suggest you use this filterscript to create textdraws.


Re: [HELP] with dialog thing - Stefand - 01.04.2012

Can't anymore removed it :/
Because i'm not a good scripter i only can edit well but dialogs is not my strongest skill -.-


Re: [HELP] with dialog thing - SpiritEvil - 01.04.2012

If you want to remove that dialog then just remove this line:

pawn Код:
ShowPlayerDialog(playerid,DIALOG_SCHOOL,DIALOG_STYLE_MSGBOX,"{FF0000}Driving School Robbery",string,"Ok","Cancel");



Re: [HELP] with dialog thing - Stefand - 01.04.2012

Quote:
Originally Posted by SpiritEvil
Посмотреть сообщение
That is not a dialog, that is a textdraw. I suggest you use this filterscript to create textdraws.
Then i can't place the remanding time?
from the robbery?


AW: [HELP] with dialog thing - dalkgamler - 01.04.2012

You have to do a text draw instead of the show player dialog


Re: [HELP] with dialog thing - Stefand - 01.04.2012

And how can i do that? like that second screen?


Re: [HELP] with dialog thing - SpiritEvil - 01.04.2012

I'll make one for you just hang on a sec


Re: [HELP] with dialog thing - Stefand - 01.04.2012

Thank you