stock VS. forward - 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: stock VS. forward (
/showthread.php?tid=86892)
stock VS. forward -
Dreftas - 16.07.2009
pawn Код:
stock Kill(playerid)
{
SetPlayerHealth(playerid, 0);
}
And
pawn Код:
forward Kill(playerid);
public Kill(playerid)
{
SetPlayerHealth(playerid, 0);
}
What is difference between stock and forward/public ?
Re: stock VS. forward -
MenaceX^ - 16.07.2009
No difference exept using stock in a timer.
You can't. You must use a public.
Re: stock VS. forward -
Dreftas - 16.07.2009
Oh just this
Ok, thanks for info.