SA-MP Forums Archive
Question - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question (/showthread.php?tid=99379)



Question - Gappy - 27.09.2009

Is it possible to do something like this

If(Kills == *10)
So like if your kills is a multiple of 10
So it saves me having to do this
If(Kills == 10 || Kills == 20 || Kills == 30 || Kills == 40) etc etc


Re: Question - ғαιιοцт - 27.09.2009

if((Kills % 10) == 0)


Re: Question - Gappy - 27.09.2009

Sweet thanks man


Re: Question - ғαιιοцт - 27.09.2009

Quote:
Originally Posted by Gappy
Sweet thanks man
no problem