Quote:
Originally Posted by LarzI
I think you mean function. You can do it three ways:
pawn Код:
PlayerName(playerid)
stock PlayerName(playerid)
forward PlayerName(playerid); public PlayerName(playerid)
I encourage to use the first method unless you plan on using CallLocal/RemoteFunction or unless you're making an include or an FS. Stock is only useful if using the function is optional and/or you don't plan on using it. However, if you have a stock function in your gamemode because you don't plan using it, why even have it in the first place?
|
Sorry, i meant function, yes.
But, this case is pretty free, because if you use PlayerName regularly in your scripts, a stock can be useful for him. And, yes, i agree with you LarzI, i should have told him that.