01.05.2012, 12:56
I did. I didn't just post random code did I?
Your original code was
Just split it up (you'll have to guess how short to make them):
Useful site: http://www.javascriptkit.com/script/...harcount.shtml
NOTE: Not tested, it's a lot of text to work with so something may be out of place. Let me know.
P.S.:
ShowPlayerDialog(playerid, 125, DIALOG_STYLE_MSGBOX
You should use defines, as you're going to end up with hundreds of dialog IDs and not knowing which is which.
Your original code was
pawn Code:
ShowPlayerDialog(playerid, 125, DIALOG_STYLE_MSGBOX, "Purchase Confirmation", "By Signing this contract you are agreeing to purchasing this vehicle you you will be charged accordingly,\n If you decline this purchase you will not be charged and the vehicle will remain at the dealership for another buyer.\n\n\n{FF0000} After vehicle purchase, the vehicle is then under your care and is not covered by any dealership insurance policies.\n\n We offer every vehicle sold a temporary license plate that is only valid for one day((One payday)).", "Sign", "Decline");
pawn Code:
new szDialog[464] = "By Signing this contract you are agreeing to purchasing this vehicle you you will be charged accordingly,");
strcat(szDialog, "\n If you decline this purchase you will not be charged and the vehicle will remain at the dealership for another buyer.");
strcat(szDialog, "\n\n\n{FF0000} After vehicle purchase, the vehicle is then under your care and is not covered by any dealership insurance policies.");
strcat(szDialog, "\n\n We offer every vehicle sold a temporary license plate that is only valid for one day((One payday)).");
ShowPlayerDialog(playerid, 125, DIALOG_STYLE_MSGBOX, "Purchase Confirmation", szDialog, "Sign", "Decline");
NOTE: Not tested, it's a lot of text to work with so something may be out of place. Let me know.
P.S.:
ShowPlayerDialog(playerid, 125, DIALOG_STYLE_MSGBOX
You should use defines, as you're going to end up with hundreds of dialog IDs and not knowing which is which.
pawn Code:
#define DIALOG_DEALERSHIP_CONTRACT 125