31.07.2012, 13:15
Hello guys if i have a filter script and has a variable for example called :
How can i pass that variable to the game mode?
pawn Код:
IsAfk[playerid]=0;
IsAfk[playerid]=0;
forward IsAFK( playerid ); public IsAFK( playerid ) return IsAfk[ playerid ];
CallRemoteFunction( "IsAFK", "i", playerid );
forward SetAFK( playerid, value ); public SetAFK( playerid, value ) return IsAfk[ playerid ] = value;
CallRemoteFunction( "SetAFK", "ii", playerid, 1 );