Locker Help
#10

What is printing in the console (server.log)?
PHP код:
stock IsACop(playerid)
{
    if(
IsPlayerConnected(playerid))
    {
        
/*new leader = PlayerInfo[playerid][pLeader];
        new member = PlayerInfo[playerid][pMember];
        if(member == 1 || member == 2 || member == 3 || member == 7) return 1;
        else if(leader == 1 || leader == 2 || leader == 3 || leader == 7) return 1;*/
        
new type FactionInfo[PlayerInfo[playerid][pMember]][FactionType];
        
printf("type: %i",FactionInfo[PlayerInfo[playerid][pMember]][FactionType]);
        if(
type == 1) return 1;
        
//else if(type == 2) return 1;
        //else if(type == 5) return 1;
    
}
    return 
0;

Reply


Messages In This Thread
Locker Help - by TheMafien - 29.03.2016, 20:51
Re: Locker Help - by Mencent - 29.03.2016, 20:55
Re: Locker Help - by TheMafien - 29.03.2016, 21:06
Re: Locker Help - by Mencent - 29.03.2016, 21:08
Re: Locker Help - by TheMafien - 29.03.2016, 21:26
Re: Locker Help - by OmegaKiller72 - 29.03.2016, 21:33
Re: Locker Help - by TheMafien - 29.03.2016, 21:52
Re: Locker Help - by Golden96 - 29.03.2016, 21:55
Re: Locker Help - by TheMafien - 29.03.2016, 22:07
Re: Locker Help - by Mencent - 30.03.2016, 09:38

Forum Jump:


Users browsing this thread: 1 Guest(s)