Variable in Include
#1

PHP код:
stock IsPlayerInAnyClan(playeridvalue)
{
    if(
value[playerid] == -1) return false;
    else return 
true;

i'm using this stock in an .inc
Example use
PHP код:
new pClan[MAX_PLAYERS]; 
PHP код:
OnRegister(playeridpClan[playerid] = -1
PHP код:
if(IsPlayerInAnyClan(playeridpClan))... 
It should do
PHP код:
if(pClan[playerid] == -1) return false;
    else return 
true
But seems
Код:
IsPlayerInAnyClan(playerid, value)
Код:
value
Doesn't stock pClan

How to do it? i already tried many formats like value[], const value... nothing
Please help, thanks!
Reply


Messages In This Thread
Variable in Include - by Shinja - 29.07.2016, 18:51
Re: Variable in Include - by Misiur - 29.07.2016, 19:11
Re: Variable in Include - by Shinja - 29.07.2016, 19:20

Forum Jump:


Users browsing this thread: 1 Guest(s)