Problem with CallRemoteFunction
#1

That's my callremotefunction

In the .inc file


Код:
forward IsPlayerLockCall(playerid);
Код:
public B_Ban(playerid,reason[])
{
	if(IsPlayerConnected(playerid))
	{
	  CallRemoteFunction("IsPlayerLockCall","i",playerid);
	  return 1;
	}
	return 0;
}
and in the gamemode file

Код:
public IsPlayerLockCall(playerid)
{
	return (PlayerInfo[playerid][pLocked] = 1);
}
And simple it's not working!, where is the problem?
Reply
#2

someone?
Reply
#3

It's not lock the player account when im using the callremotefunction, i tried what you gave me it's still doesnt work
Reply
#4

Solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)