14.02.2014, 09:59
(
Последний раз редактировалось George0305; 14.02.2014 в 10:38.
)
I thought that if i put the same variable as the gamemode,it would be the same.It seems i was wrong.Anyway,i don`t really know what and where to put.Thank you for your time and patience with me.
That`s the function in gamemode:
That`s the function in gamemode:
Код:
forward IsACop(playerid); public IsACop(playerid) { if(IsPlayerConnected(playerid)) { new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==1 || member==2 || member==3) { return 1; } else if(leader==1 || leader==2 || leader==3) { return 1; } } return 0; }