Open FlamingChilly opened 4 years ago
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
TriggerServerEvent('loffe_robbery:rob', i)
while robbing do Wait(0) if IsPedDeadOrDying(peds[i]) then robbing = false end end
How can we change the script so that the Police notification is sent as soon as the gun is pointed at the store clerk?