21.07.2015, 12:06
on the top
under duty command
Under OnPlayerGiveDamage
PHP код:
new bool:onDuty[MAX_PLAYERS];
PHP код:
onDuty[playerid] = true;
PHP код:
if(onDuty[damageid] == true)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z+10);
}