edit checkDistance
This commit is contained in:
1 parent
df9584711a
commit
fb500dc502
16 files changed
+52
-88
No files matched your search
+2
-2
@@ -1,7 +1,7 @@
|
||||
local locations = GlobalState.MDDrugsLocations.Pharma
|
||||
|
||||
Bridge.Callback.Register("md-drugs:client:prescriptionpad", function(data, op)
|
||||
local job = ps.getPlayerData().job.name
|
||||
Bridge.Callback.Register("md-drugs:client:prescriptionpad", function( data, op)
|
||||
local job = Bridge.Framework.GetPlayerJob()
|
||||
if job ~= 'ambulance' then
|
||||
Bridge.Notify.SendNotify(Bridge.Language.Locale('pharma.notPharma'), 'error')
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user