Help me with this!
#8

Quote:
Originally Posted by TadePoleMG
Посмотреть сообщение
Use a string for format and a destination string. Like
PHP код:
new string[128], desstring[500];
// Then Using format
format(stringsizeof(string),"...:::Weapon-Shop:::... \n\n");
// Using strcat
strcat(desstringstring);
format(stringsizeof(string),"{8080FF}Armour\t-\t2000$\n");
strcat(desstringstring);
// And so on......
// Then use ShowPlayerDialog like this
ShowPlayerDialog(playeridDIALOG_IDDIALOG_STYLE_LIST,"Weapons Shop"desstring,"Buy""Close"); 
That's it.
Thank You.
he can use it directly:

strcat(desstring, "...:::Weapon-Shop:::... \n\n");
strcat(desstring, "{8080FF}Armour\t-\t2000$\n");

it is not necessary format(string....
Reply


Messages In This Thread
Help me with this! - by GameOvr - 13.07.2018, 10:52
Re: Help me with this! - by TadePoleMG - 13.07.2018, 10:52
Re: Help me with this! - by GameOvr - 13.07.2018, 10:54
Re: Help me with this! - by coool - 13.07.2018, 10:55
Re: Help me with this! - by GameOvr - 13.07.2018, 11:09
Re: Help me with this! - by GameOvr - 13.07.2018, 11:13
Re: Help me with this! - by TadePoleMG - 13.07.2018, 11:15
Re: Help me with this! - by Florin48 - 13.07.2018, 11:28

Forum Jump:


Users browsing this thread: 1 Guest(s)