09.07.2010, 09:17
Quote:
Did you change this:
if(gTeam[playerid] = TEAM_MOBSTAS) to this: if(gTeam[playerid] == TEAM_MOBSTAS) and this: if(gTeam[playerid] = TEAM_GANGSTAS) to this: if(gTeam[playerid] == TEAM_GANGSTAS) |
EDIT:You think you might be able to help me with this?? i wanna make it so when the player dies it shows
"%s has died (reason)"
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new string[256];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playername));
format(string, sizeof(string),"%s has Died",playername, reason);
SendClientMessageToAll(0x00FF32FF,string);
return 1;
}