WHY does it not work?
#1

stock isORGMechanicLcensed(playerid)
{
new org = PlayerInfo[playerid][pOrgMember];

if(org !=0 && OrgInfo[org][OrgMech] == 1) return 1;
return 0;
}

Its always FALSE even if my ORG has a mechanic license
Reply
#2

We'd need more code to see whats going wrong.
Reply
#3

not really,

I am just checking for isORGMechanicLcensed(playerid) nothing more.


The error is in this stock
Reply
#4

Hello playstores, if the function is always returning "false" the problem must be in the manipulation of these variables, better analyze where they are defined and how they are being used, because there is nothing wrong with this STOCK, search, and contact us.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)