09.04.2010, 22:48
That's my callremotefunction
In the .inc file
and in the gamemode file
And simple it's not working!, where is the problem?
In the .inc file
Код:
forward IsPlayerLockCall(playerid);
Код:
public B_Ban(playerid,reason[])
{
if(IsPlayerConnected(playerid))
{
CallRemoteFunction("IsPlayerLockCall","i",playerid);
return 1;
}
return 0;
}
Код:
public IsPlayerLockCall(playerid)
{
return (PlayerInfo[playerid][pLocked] = 1);
}

