how to make stock
#3

pawn Код:
if(GetPlayerClan(playerid) == 1)
This is because the function GetPlayerClan(playerid) is not a boolean, its rather a integer; but not sure as you haven't provided the code related PlayerInfo[playerid][pClan].

If its a boolean var, then here:
pawn Код:
stock bool:GetPlayerClan(playerid)
{
    return PlayerInfo[playerid][pClan];
}
Reply


Messages In This Thread
Clan system - by Airblog - 28.01.2015, 09:08
Re: how to make stock - by Airblog - 28.01.2015, 12:22
Re: how to make stock - by Gammix - 28.01.2015, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)