Function
#5

Type in a GM I have seen such a thing....

Код:
public OnPlayerConnect(playerid)
{
	if(!IsPlayerNPC(playerid))
	{
		Streamer_AddPlayer(playerid);
	}
	if(...)
	{
		return CallLocalFunction(2964, 3064, playerid);
	}
	return 1;
}
Код:
public OnPlayerDisconnect(playerid, reason)
{
	if(!IsPlayerNPC(playerid))
	{
		Streamer_RemovePlayer(playerid);
	}
	if(....)
	{
		return CallLocalFunction(3072, 3184, playerid, reason);
	}
	return 1;
}
Reply


Messages In This Thread
Function - by TheBluec0de - 15.07.2011, 22:09
Re: Function - by TheBluec0de - 15.07.2011, 22:22
Re: Function - by Kyosaur - 15.07.2011, 22:28
Re: Function - by TheBluec0de - 15.07.2011, 22:30
Re: Function - by TheBluec0de - 15.07.2011, 22:35
Re: Function - by Kyosaur - 15.07.2011, 22:35
Re: Function - by TheBluec0de - 15.07.2011, 22:39
Re: Function - by TheBluec0de - 15.07.2011, 22:47
Re: Function - by iPLEOMAX - 15.07.2011, 22:49
Re: Function - by Kyosaur - 15.07.2011, 22:49

Forum Jump:


Users browsing this thread: 3 Guest(s)