SA-MP Forums Archive
String finder - 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: String finder (/showthread.php?tid=295366)



///////// - STMatt - 06.11.2011

////////


Re: String finder - Shadoww5 - 06.11.2011

Compare the string and inputtext at OnPlayerDialogResponse.


Re: String finder - SuperViper - 06.11.2011

pawn Код:
if(strfind(inputtext, "f") != -1) {
    // If the input has 'f' in it - do this code
}