[DIALOG BOXES] VIP Menu
#1

Код:
CMD:viphelp(playerid, params[])
{
    if( PlayerInfo[playerid][pVIP] >= 0){
    new string[128];
    
    
    
    strcat(string, "Access To Ruby Section On The Forum,		Access To Sapphire Section On The Forum,		Access To Diamond Section On The Forum\n");
    strcat(string, "Ruby Tag in the Forum/Teamspeak.,			Sapphire Tag in the Forum/Teamspeak,		    Diamond Tag in the Forum/Teamspeak\n");
    strcat(string, "Ability to get a free Gender swap!,			You Get Given 75k!,						     	You Get Given 75k!\n");
    strcat(string, "One Free House Move!           ,			Abily to All Ruby features!,			    	Abily to All Ruby features!\n");
    strcat(string, "One Free Car!           ,			        A Free House And Business Move!,	         	A Free House And Business Move!\n");
    strcat(string, "           ,			                    2 Free Cars! (Of Your Choice),                  FREE Armor + HP in the VIP Lounge!\n");
    strcat(string, "           ,			                    FREE Armor + HP in the VIP Lounge!,	            5 Free Cars! (Of Your Choice)\n");
    strcat(string, "           ,			                    								,	            FREE JAIL PASS!\n");
    
    ShowPlayerDialog(playerid, 44, DIALOG_STYLE_MSGBOX, "RUBY		SAPPHIRE		DIAMOND", string, "OK", "");

   }
    return 1;
}
ANY IDEA WHY THIS COMES OUT LIKE THIS...

Reply
#2

PHP код:
CMD:viphelp(playeridparams[])
{
    if( 
PlayerInfo[playerid][pVIP] >= 0){
    new 
string[990];
    
    
    
    
strcat(string"Access To Ruby Section On The Forum,        Access To Sapphire Section On The Forum,        Access To Diamond Section On The Forum\n");
    
strcat(string"Ruby Tag in the Forum/Teamspeak.,            Sapphire Tag in the Forum/Teamspeak,            Diamond Tag in the Forum/Teamspeak\n");
    
strcat(string"Ability to get a free Gender swap!,            You Get Given 75k!,                                 You Get Given 75k!\n");
    
strcat(string"One Free House Move!           ,            Abily to All Ruby features!,                    Abily to All Ruby features!\n");
    
strcat(string"One Free Car!           ,                    A Free House And Business Move!,                 A Free House And Business Move!\n");
    
strcat(string"           ,                                2 Free Cars! (Of Your Choice),                  FREE Armor + HP in the VIP Lounge!\n");
    
strcat(string"           ,                                FREE Armor + HP in the VIP Lounge!,                5 Free Cars! (Of Your Choice)\n");
    
strcat(string"           ,                                                                ,                FREE JAIL PASS!\n");
    
    
ShowPlayerDialog(playerid44DIALOG_STYLE_MSGBOX"RUBY        SAPPHIRE        DIAMOND"string"OK""");
   }
    return 
1;

Reply
#3

If you want to arrange text in colums then use \t

example:
PHP код:
strcat(string"Access To Ruby Section On The Forum \t Access To Sapphire Section On The Forum \t Access To Diamond Section On The Forum\n"); 
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)