SA-MP Forums Archive
tell me, testers! - 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: tell me, testers! (/showthread.php?tid=163800)



tell me, testers! - GaGlets(R) - 28.07.2010

So.. I have never tested this out..
what would be better(with the fastest funtionality) to use for creating a funtion.

1. Using forwarding and public
pawn Код:
forward BLaBLa()
public BLaBla()
{
}
2. Using "stock"
pawn Код:
stock BLaBLa(param,param)
{
}
3. Without any text in front
pawn Код:
BlaBLa(param,param)
{

}



Re: tell me, testers! - woot - 29.07.2010

It doesn't matter. The only thing is, that you can only use public functions for timers - while stock functions do not work for timers.


Re: tell me, testers! - snoob - 29.07.2010

public function can also be called from other script unsing CallRemoteFunction
https://sampwiki.blast.hk/wiki/CallRemoteFunction


Re: tell me, testers! - GaGlets(R) - 29.07.2010

But witch dones funtion faster?