Is it possible
#8

Really thank you guys for the replys, it helped me alot, but now i am wondering if its possible to make a PlayerInfo work with a Gamemode and filterscript?

must i use it like this?:

Gamemode:
pawn Code:
//Gamemode
enum PlayerInfo
{
PlayerInfo[playerid][pAdmin]
}

new pInfo[MAX_PLAYERS][PlayerInfo];

forward getAllInfos(playerid);
public getAllInfos(playerid)
{
    return pInfo[playerid][pAdmin];
}
Filterscript:

pawn Code:
#define GetPlayerInfo(%0) CallRemoteFunction("getAllInfos", "i", %0)

//somewhere in script
GetPlayerInfo(playerid);//is there a way to not write this in the filterscript and it gets everything from the gamemode?
if(pInfo[playerid][pAdmin] >= 3)
{
//code
}
I want to get all player stats/infos known by the filterscript is this possible?

again thank you guys for helping me out
Reply


Messages In This Thread
Is it possible - by NeverKnow - 19.06.2015, 19:48
Re: Is it possible - by Konstantinos - 19.06.2015, 20:05
Re: Is it possible - by NeverKnow - 20.06.2015, 13:33
Re: Is it possible - by Konstantinos - 20.06.2015, 13:52
Re: Is it possible - by NeverKnow - 20.06.2015, 14:32
Re: Is it possible - by Jefff - 20.06.2015, 15:01
Re: Is it possible - by Pottus - 20.06.2015, 15:20
Re: Is it possible - by NeverKnow - 22.06.2015, 22:51

Forum Jump:


Users browsing this thread: 1 Guest(s)