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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help please. (/showthread.php?tid=162094)



Help please. - bartje01 - 22.07.2010

Hey guys.
I have a cool ban thingy but it doesn't work.
pawn Код:
format(string,sizeof(string),"______________________________\nYour Name: %s\nName Admin: %s\nBan Reason: Max Warns\nIP Adress: %s\n______________________________\nWant to be unbanned?\nMake a picture of this message box\n and post this with your 'unban request' on our site\n and post your unban request on\n the forum board 'unban request'\n______________________________\n Web Adress: sa-mp.com\n Friendly Regards from the admin team",playername[playerid],playername[ID],IP[ID]);
ShowPlayerDialog(ID,9999,DIALOG_STYLE_MSGBOX,"Ban Information",string,"Ok","Cancel");
But the dialog doesn't shows the last sentence:
Код:
the forum board 'unban request'\n______________________________\n Web Adress: sa-mp.com\n Friendly Regards from the admin team
The dialog is still really small so...


Re: Help please. - Lorenc_ - 22.07.2010

Perhaps set a timer after about 2 seconds after kick? Im not very sure about fixing it.


Re: Help please. - bartje01 - 22.07.2010

Won't help. because the dialog does show up but not everything in it.
itdoesn't show the last text.


Re: Help please. - (SF)Noobanatior - 22.07.2010

what size is string[]

*edit
coz i make it the it would need to be atleast

string[407]

that is if what you are outputting to supports a str that big


Re: Help please. - bartje01 - 22.07.2010

Loooool thanks noobinator. It works