14.06.2013, 16:20
You need to make some functions in your gamemode to return values like this.
Now create an include for your filterscripts like this
If anyone suggests to use PVars don't the tradeoff will most likely be in favor of CallRemoteFunction() even though it is slower using PVars overall will most certainly be slower besides they make some really ugly looking code.
pawn Код:
forward GetPlayerWhatever(playerid);
public GetPlayerWhatever(playerid) { return PlayerInformation[playerid][whatever]; }
pawn Код:
#define GetPlayerWhatever(%0) CallRemoteFunction("GetPlayerWhatever", "i", %0)