[HELP] with dialog thing
#1

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

Show the error code
Reply
#3

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

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

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");
Reply
#6

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?
Reply
#7

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

And how can i do that? like that second screen?
Reply
#9

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

Thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)