07.12.2010, 08:52
but i added this :
so i think here is the problem , because i want to send different messages !
pawn Код:
if(gTeam[playerid] == TEAM_COP)(format string, sizeof(string), "Officer %s has stunned (suspect) %s.", PlayerName[playerid], PlayerName[giveplayerid]);
SendClientMessageToAll(COLOR_BLUE, string);
if(gTeam[playerid] == TEAM_ARMY){format string, sizeof(string), "Soldier %s has stunned (suspect)
%s.", PlayerName[playerid], PlayerName[giveplayerid]);
SendClientMessageToAll(COLOR_BLUE, string);