23.04.2012, 17:21
Код:
GetPlayerName(playerid, playerName); TogglePlayerControllable(playerid, 0); ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0, 1); SendClientMessage(playerid, COLOR_LIGHTRED, "You have been seriously wounded and you aren't able to walk any further!"); if(PlayerInfo[playerid][pSex] = 1) { format(string,sizeof(string), "%s falls to the ground because of his wounds.", playerName); } else if(PlayerInfo[playerid][pSex] = 2) { format(string,sizeof(string), "%s falls to the ground because of her wounds.", playerName); } ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);