This topic can be removed now i fix it ;)
#1

This topic can be removed now i fix it
Reply
#2

4096 characters

found here:
http://forum.sa-mp.com/index.php?topic=119892.0
Reply
#3

thought so do you have any idear why its only showing me the top line?
Reply
#4

you used the "format" function wrong. this should work:

pawn Код:
new s[750];
 format(s,sizeof(s), "%s%s", "\nRules of Conduct:\n\nNo Random Deathmatching\nNo Spamming\nNo Disrespecting Admins \nNo Insulting other players\nNo Hacking or cheating in any way or form\nDo not affiliate with any hacks use /report immediately\nPlease take notice that if any rules are broken may result in a ban,\nfor further information on rules and behavior.\nplease visit our forums at: forum.freeworld-rp.co.cc/index.php If you think you have been ",
"disrespected, please report the incodent on our forums \nfor emergency contact you can get a hold of the owners at\nsa_mp@live.c0.uk or candrsa-mp@live.com.");
 ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"Terms And agreements",s,"agree","disagree");
you did:
Код:
format(s,sizeof(s),"text1", "text2");
and it must be:
Код:
format(s,sizeof(s), "%s%s", "text1", "text2");
Reply
#5

lol i should of none that thanks mate
Reply
#6

you're welcome!
Reply
#7

Don't edit your posts when It's fixed....
Others might get the same problem, and then If they search they'll (maybe) find this topic instead
of a topic with the question & answer, or they'll not find it at all.

This is ONE of the reason that many people have to create new topics asking questions that's been asked
before.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)