14.06.2013, 16:10
as the title said, how to read "PlayerInformation[playerid][whatever]" which exists in the gamemode, from a filterscript?
#define "/gamemodes/yourgamemode.pwn"
forward GetAdminFS(playerid);
public GetAdminFS(playerid) {
return PlayerInformation[playerid][whatever];
}
forward GetPlayerWhatever(playerid);
public GetPlayerWhatever(playerid) { return PlayerInformation[playerid][whatever]; }
#define GetPlayerWhatever(%0) CallRemoteFunction("GetPlayerWhatever", "i", %0)