SA-MP Forums Archive
*** Terrible Title Removed - 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: *** Terrible Title Removed (/showthread.php?tid=387182)



*** Terrible Title Removed - Anthony © - 23.10.2012

Right, I don't know how to explain it exactly, but. Say I wanted to write an int into Y_INI, a simple ban, with a reason etc. Say I wanted to ban the person again (not wanting the previous ban to get cleared) how would I make it look for a previous Ban then determine to ++ it to like Ban1, Ban2 etc. I don't really know that part in scripting.


Re: Hmm. - NewerthRoleplay - 23.10.2012

I suppose you could add a variable to store the id of the ban and then ++ that integer?


Re: Hmm. - Anthony © - 23.10.2012

I need to know how to detect if it's already in use in y_ini then how to make a another with a 1++(as more are written) beside it so it doesn't duplicate/merge.