Filterscript working with gamemode
#5

There are couple of methods like CallRemoteFunction, properties, SVars, GVar plugin etc.

This is an example:
pawn Код:
// <filterscript>
#define GetPlayerAdmin(%0) CallRemoteFunction("GM_GetPlayerAdmin", "i", %0)

// <gamemode>
forward GM_GetPlayerAdmin(playerid);
public GM_GetPlayerAdmin(playerid) return PlayerInfo[playerid][pAdmin];
Reply


Messages In This Thread
Filterscript working with gamemode - by DavidSF - 02.11.2017, 09:45
Re: Filterscript working with gamemode - by Matz - 02.11.2017, 09:48
Re: Filterscript working with gamemode - by DavidSF - 02.11.2017, 09:52
Re: Filterscript working with gamemode - by Lucases - 02.11.2017, 10:01
Re: Filterscript working with gamemode - by Konstantinos - 02.11.2017, 10:14

Forum Jump:


Users browsing this thread: 1 Guest(s)