30.09.2016, 01:33
Good, I would like to a collaboration in an error that I have in my server. Use the gamemode South Central and it has an error at the time that one falls wounded teleports him to another place not to the death
SetPlayerPos(playerid, PlayerData[playerid][pPos][0], PlayerData[playerid][pPos][1], PlayerData[playerid][pPos][2]); SetPlayerFacingAngle(playerid, PlayerData[playerid][pPos][3]);
if (PlayerData[playerid][pInjured]) { SetPlayerPos(playerid, PlayerData[playerid][pPos][0], PlayerData[playerid][pPos][1], PlayerData[playerid][pPos][2]); SetPlayerFacingAngle(playerid, PlayerData[playerid][pPos][3]); ShowHungerTextdraw(playerid, 0); TextDrawShowForPlayer(playerid, gServerTextdraws[2]); SendClientMessage(playerid, COLOR_LIGHTRED, "[WARNING]:{FFFFFF} You are injured and require medical attention (/call 911)."); ApplyAnimation(playerid, "CRACK", "null", 4.0, 0, 0, 0, 1, 0, 1); ApplyAnimation(playerid, "CRACK", "crckdeth4", 4.0, 0, 0, 0, 1, 0, 1); }