Dialog List
#4

Quote:
Originally Posted by LarzI
Посмотреть сообщение
You are using strcat correclty, so I can't seem to understand why it crashes. You could, however, use a ternary operator instead (https://sampforum.blast.hk/showthread.php?tid=216730)

pawn Код:
format( string, sizeof( string ), "%sSniper\t\t\t{00FF00}%s", string, (( PlayerInfo[playerid][pSchemGun][12] == 1 ) ? ("Buyed") : ("$30000")) );
WOW! You are my life saver! and what '?' stand for ?
And Can I make multiple format with 1 variable (string) ?
Reply


Messages In This Thread
Dialog List - by RenovanZ - 06.02.2013, 05:35
Re: Dialog List - by LarzI - 06.02.2013, 06:02
Re: Dialog List - by macparas - 06.02.2013, 06:04
Re: Dialog List - by RenovanZ - 06.02.2013, 06:06
Re: Dialog List - by LarzI - 06.02.2013, 07:01
Re: Dialog List - by RenovanZ - 06.02.2013, 08:19

Forum Jump:


Users browsing this thread: 1 Guest(s)