i need if you will spawn a text for all player "name player - is now - team from player id -''
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);
}

|
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);
}
Lets let this to one Good scripter ![]() |