help with /rules dialog - 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 with /rules dialog (
/showthread.php?tid=276827)
help with /rules dialog -
[LHT]Bally - 15.08.2011
hi i have a problem where if i put so much stuff into my dialog message that pawno crashes :S i have been told that there is a way to do it using half message in one place and half elsewhere any one show me an example please
pawn Код:
if(!strcmp(cmdtext, "/rules", true))
{
ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"{FF0000}Server Rules Abide by these or be kicked/ban :","{FFFFFF}No cheating, glitching or using any script exploit! Every cheater or bug MUST be reported by /report or on forum\nNo ramming or blocking\nNo carjacking! Locking vehicles not owned by you\nNo killing, punching, carkilling or running over\nNo Spamming\nNo flaming, racism or disrespecting other players\n {0000FF}Police Rules\n{FFFFFF}No camping\nNo Harrasing inocent players","Ok","Back");
return 1;
}
would be apreciated , my rules script above need help
Re: help with /rules dialog -
[MG]Dimi - 15.08.2011
Use
strcat
This might help you
https://sampforum.blast.hk/showthread.php?tid=274318
Re: help with /rules dialog -
[LHT]Bally - 15.08.2011
ty sooo much
Re: help with /rules dialog -
[MG]Dimi - 15.08.2011
No probelm