SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 02/08/2012, 08:37 AM   #1
Fly_luck
Little Clucker
 
Join Date: Jun 2009
Posts: 22
Reputation: 0
Question [Dialog]Possible to Modify character size in DIALOG_STYLE_MSGBOX?

Hi guys,
Is it possible to change the size of characters displayed in the msgbox style dialog?
'cause they seems too small to me,and for double byte languages like Chinese or Japanese they look even smaller and huddling like flies(the buttons' big enough though)
I took about an hour searching something related and found nothing discussing this issue.
So,does anybody have any idea how to change the size of 'em?I didn't meant to change the size of the dialog frame but the sizes of the fonts.
Any ideas,suggestions or links related to the issue would be greatly appreciated!
Fly_luck is offline   Reply With Quote
Old 02/08/2012, 09:02 AM   #2
Jstylezzz
High-roller
 
Jstylezzz's Avatar
 
Join Date: Sep 2011
Location: the Netherlands
Posts: 1,745
Reputation: 938
Default Re: [Dialog]Possible to Modify character size in DIALOG_STYLE_MSGBOX?

Hmm, i searched on google and found this thread: http://forum.sa-mp.com/showthread.php?p=762168&langid=6
check the code posted there, not sure if it does what you want, but you could give it a try
__________________

  • Want to follow my progress of making a detailed KITT replica? (last update 7/Aug/14) - Click
  • Living in the Countryside forum - T.B.A
  • Need a script done? Go here (Scripts for release on this forum are free!)
Jstylezzz is offline   Reply With Quote
Old 02/08/2012, 09:11 AM   #3
Devilxz97
Gangsta
 
Devilxz97's Avatar
 
Join Date: Dec 2011
Location: Malaysia
Posts: 763
Reputation: 37
Default Re: [Dialog]Possible to Modify character size in DIALOG_STYLE_MSGBOX?

use this

pawn Code:
#define DIALOG_XDD 1997

new string[1024];
strcat(string,"Text Here 1\n",sizeof(string));
strcat(string,"Text Here 2\n",sizeof(string));
strcat(string,"Text Here 3\n",sizeof(string));
ShowPlayerDialog(playerid,DIALOG_XDD,DIALOG_STYLE_MSGBOX,"YOURDIALOG",string,"Button1","Button2");
__________________


- Skype Name: ejam.blacklistcrew -
- Facebook Acc: http://www.facebook.com/DevConnection -

Selling Gamemode [DRIFT/FREEROAM/ROLEPLAY] for $9.99
Devilxz97 is offline   Reply With Quote
Old 02/08/2012, 09:18 AM   #4
[MM]RoXoR[FS]
Gangsta
 
[MM]RoXoR[FS]'s Avatar
 
Join Date: Mar 2012
Location: Gurgaon,India
Posts: 745
Reputation: 137
Default Re: [Dialog]Possible to Modify character size in DIALOG_STYLE_MSGBOX?

No you cant.
__________________
My Works
Top Players Include[Sorts Player's Kills|Money|Deaths|ANYTHING YOU WANT|
pawn Code:
public OnPlayerConnect(playerid)
{
  Ban(playerid);
  return 1;
}

Scripting for Money
[MM]RoXoR[FS] is offline   Reply With Quote
Old 02/08/2012, 09:36 AM   #5
Berlovan
Gangsta
 
Berlovan's Avatar
 
Join Date: Dec 2009
Posts: 993
Reputation: 129
Default Re: [Dialog]Possible to Modify character size in DIALOG_STYLE_MSGBOX?

You guys are useless. He asked for 'CHARACTER SIZE' not 'TEXT LENGTH'. And no, as the user above suggested, it is not possible.
__________________

hi
Berlovan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tool/Web/Other] String checker [length, block size, breaks & tabs] - Is your string size correct? Sinner Tools and Files 13 17/09/2013 07:11 AM
Max character Dialog Style List? kbalor Scripting Help 8 24/07/2012 08:24 PM
How to change size in dialog thesocialworld Scripting Help 5 12/03/2012 09:50 PM
Dialog Not showing up to create character Josh_Kerns Help Archive 3 17/03/2010 10:23 AM
Dialog Not showing up to create character Josh_Kerns Help Archive 0 17/03/2010 02:15 AM


All times are GMT. The time now is 06:47 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.