SA-MP Forums Archive
How to get number till , in dialog_list - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to get number till , in dialog_list (/showthread.php?tid=587120)



How to get number till , in dialog_list - bogushas - 28.08.2015

Hey guys, I'm wondering how to get the number till , I'm using kind a same thing in another system to get Player Name till , and it works perfectly.



Dialog list looks like that, code:
PHP код:
if(dialogid == 1108){
    if(
response){
        
strmid(callIdFraction[playerid], inputtext0strfind(inputtext","));
        
callIdFraction[playerid] = strval(callIdFraction[playerid]);
        
printf("%d",callIdFraction[playerid] );
    }

printf is always 0.