Changes to be committed:

new filename:   Peds/PedsClowningAround.lua
	new file:   Player/PlayerGetOffYourPhone.lua
This commit is contained in:
2025-09-23 01:32:57 +01:00
parent 8bd8c2c2fa
commit e58f8c7028
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
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