17.12.2012, 15:53
Where we make this? Where is the admin script? 5. Link this FS with your admin system (if you want)
Just add this function to the admin script
pawn Code:
public GetPlayerAVSAdmin(playerid)
{
return PlayerInfo[playerid][pAdmin];
}
You must use YOUR admin system variable. PlayerInfo[playerid][pAdmin] is just EXAMPLE.
Just add this function to the admin script
pawn Code:
public GetPlayerAVSAdmin(playerid)
{
return PlayerInfo[playerid][pAdmin];
}
You must use YOUR admin system variable. PlayerInfo[playerid][pAdmin] is just EXAMPLE.