Any difference?
#1

Hello guys,

I wondered if there is any differnece between these three things:

pawn Код:
forward GetID(playerid);
public GetID(playerid)
{
    return playerid;
}
pawn Код:
stock GetID(playerid)
{
    return playerid;
}
pawn Код:
GetID(playerid)
{
    return playerid;
}
I know the code is dumb, but it is just an example code.

I hope someone can give me some info about them.


Jeffry
Reply
#2

In my opinion its does prety much the the same lol
Reply
#3

https://sampwiki.blast.hk/wiki/Stocks
https://sampwiki.blast.hk/wiki/Public_functions

I guess there's no difference at all...
Reply
#4

Thanks for the info so far.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)