Files
gta-v-chaos-mod-custom-scripts/Player/PlayerGetOffYourPhone.lua
nathan e58f8c7028 Changes to be committed:
new filename:   Peds/PedsClowningAround.lua
	new file:   Player/PlayerGetOffYourPhone.lua
2025-09-23 01:32:57 +01:00

21 lines
453 B
Lua

EffectInfo = {
Name = "Get Off Your Phone",
EffectId = "player_getoffyourphone",
TimedType = "Normal",
EffectGroup = "None",
EffectCategory = "None"
}
function OnStart()
end
function OnStop()
end
function OnTick()
playerPed = PLAYER_PED_ID()
if IS_PAUSE_MENU_ACTIVE() or IS_PLAYER_SWITCH_IN_PROGRESS() or IS_PLAYER_DEAD(PLAYER_ID()) or DOES_ENTITY_EXIST(playerPed) ~= true then return end
CREATE_MOBILE_PHONE(0)
end