need help
#1

i need if you will spawn a text for all player "name player - is now - team from player id -''

does anyone now it?
Reply
#2

Код:
public OnPlayerSpawn(playerid) {
	if(gTeam[playerid] == YOURTEAM) {
	new name[256];
	new string[256];
	GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "*** %s joined team.", name);
	SendClientMessageToAll(COLOR_RED, string);
}
P.S. I sux in pawno=/

Lets let this to one Good scripter
Reply
#3

Quote:
Originally Posted by *Jesenice*
Код:
public OnPlayerSpawn(playerid) {
	if(gTeam[playerid] == YOURTEAM) {
	new name[256];
	new string[256];
	GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "*** %s joined team.", name);
	SendClientMessageToAll(COLOR_RED, string);
}
P.S. I sux in pawno=/

Lets let this to one Good scripter
now i get mylittlepony joined team
it must be mylittlepony joined *Teamname*
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)