How to make it say when a player teleports and where to?
#7

Under your teleport command:
Код:
	new string[128];
	format(string,128,"%s has teleported to area (/command)",ReturnPlayerName(playerid));
	SendClientMessageToAll(COLOR_,string);
Somewhere in the gamemode/filterscript:
Код:
stock ReturnPlayerName(playerid) //By Alex "******" Cole
{
	new pname[MAX_PLAYER_NAME];
	pname="Invalid PlayerID";
	if(IsPlayerConnected(playerid))
	{
		GetPlayerName(playerid, pname, sizeof (pname));
	}
	return pname;
}
Easiest way imo.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)