ZuK97
Ученик
При выстреле игрока над его головой будет появиться Пикап с ID 1240
вставьте код в public OnPlayerGiveDamage
PHP:
if(!IsPlayerAttachedObjectSlotUsed(damagedid, 1))
{
SetPlayerAttachedObject(damagedid, 1, 1240, 1, 0.877999, 0.034000, 0.044999, 3.699995, 87.599967, 0.400000, 1.000000, 0.482000, 1.000000, 0, 0);
SetTimerEx("shot", 1000, 0, "i", damagedid);
}
PHP:
В конец мода
forward shot(playerid);
public shot(playerid)return RemovePlayerAttachedObject(playerid, 1);
Последнее редактирование:
