SA-MP Forums Archive
Whats The Difference? - 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: Whats The Difference? (/showthread.php?tid=405523)



Whats The Difference? - Glad2BeHere - 06.01.2013

random(playerid)

stock random(playerid)


Both methods compile but whats the difference when using them?


Re: Whats The Difference? - mastermax7777 - 06.01.2013

with stock: if you dont use the function then the compiler wont warn you

without stock : if you forget to use function it will make warning

thats what i think

actually ; https://sampwiki.blast.hk/wiki/Stocks#Intro