Loffes/loffe_robbery

Police alert is too late

Opened this issue · 1 comments

How can we change the script so that the Police notification is sent as soon as the gun is pointed at the store clerk?

Move TriggerServerEvent('loffe_robbery:rob', i) from line 285 to line 257, just above while robbing do Wait(0) if IsPedDeadOrDying(peds[i]) then robbing = false end end