Dialog Help - Cut a string?
#1



1.) Is this possible?
2.) How could i optimize it for the following script (OnDialogResponse):

'Inputtext' is the DIALOG LIST. It results 'Zak (Earnt $200000 blablabla).

I'd like it to just recognize 'Zak'.

pawn Код:
new msg[100];
                format(msg,sizeof(msg),"Selected player: %s", inputtext);
                SendClientMessage(playerid, COLOR_WHITE, msg);
Thanks!
Reply


Messages In This Thread
Dialog Help - Cut a string? [Paying $5 - PayPal] - by GamingTurf - 16.12.2011, 16:03
Re: Dialog Help - Cut a string? - by vassilis - 16.12.2011, 16:10
Re: Dialog Help - Cut a string? - by GamingTurf - 16.12.2011, 16:12
Re: Dialog Help - Cut a string? - by wildcookie007 - 16.12.2011, 16:12
Re: Dialog Help - Cut a string? - by MP2 - 16.12.2011, 16:12
Re: Dialog Help - Cut a string? - by GamingTurf - 16.12.2011, 16:29
Re: Dialog Help - Cut a string? - by GamingTurf - 16.12.2011, 19:08
Re: Dialog Help - Cut a string? - by GamingTurf - 16.12.2011, 20:20

Forum Jump:


Users browsing this thread: 3 Guest(s)