Way to shorten this? - 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: Way to shorten this? (
/showthread.php?tid=262719)
Way to shorten this? -
Kitten - 19.06.2011
Solved
Re: Way to shorten this? -
iFriSki - 19.06.2011
An expression. As in, KillsRequired - CurrentKills = X then output the final formatted message.
That is, if I'm looking at this right.
Re: Way to shorten this? -
Sil3nc3 - 19.06.2011
I'd say leave it like that, it would be much more organized and easier to edit. If you go for the shortcuts you can sometimes end up having to take more time to fix the errors.
Re: Way to shorten this? -
Calgon - 19.06.2011
TillRank2 - where do you even set the value for that variable?
Re: Way to shorten this? -
Swiftz - 19.06.2011
Make a string with current kills so subtract the value and the current kills from it and store in a variable and print that variable