how can i make to show a message when player enter a area
#2

This hasn't been tested yet, if you have problems please message me

Код:
#define SERVER_NAME "Server name Here"
new FirstReg[MAX_PLAYERS];

/*
	If you have a registration system,
	You will need to place FirstReg[playerid] = 1;
	When they register and spawn
*/

public OnPlayerUpdate(playerid)
{
	if(FirstReg[playerid] == 1 && IsPlayerInRangeOfPoint(playerid, 0.5, 0, 0, 0))
	{
		SendClientMessage(playerid, -1, "Welcome to "SERVER_NAME", We hope you enjoy your stay");
		FirstReg[playerid] = 0;
		return 1;
	}
	return 1;
}
Reply


Messages In This Thread
how can i make to show a message when player enter a area - by Chrisli520 - 06.07.2013, 03:17
Re: how can i make to show a message when player enter a area - by GODEX - 06.07.2013, 03:35

Forum Jump:


Users browsing this thread: 1 Guest(s)