Changes to be committed:
new filename: Peds/PedsClowningAround.lua new file: Player/PlayerGetOffYourPhone.lua
This commit is contained in:
20
Player/PlayerGetOffYourPhone.lua
Normal file
20
Player/PlayerGetOffYourPhone.lua
Normal 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
|
Reference in New Issue
Block a user