features:housing:custom_scripts:module_events

PAGE INFO ALREADY TRANSFERRED TO THE NEW WIKI - Using the Module Events

How to Register a Module Event

Similar to the module events, you can register “Global” events with variables on the area containing the MAIN_DOOR.

Image

Events List

Variable NameCalled FromExample
P_MODEVENT_ACQITEMpf_ev_acqitemp_25_acqitem
P_MODEVENT_UNACQITEMpf_ev_unacqitemp_25_unacqitem
P_MODEVENT_ACTIVATEITEMpf_ev_activitemp_25_activatitem
P_MODEVENT_CHATpf_ev_chatp_25_chat
P_MODEVENT_PCDEATHpf_ev_pcdeathp_25_pcdeath
P_MODEVENT_PCDYINGpf_ev_pcdyingp_25_pcdying
P_MODEVENT_PCENTERpf_ev_enterhousep_25_pcenter
P_MODEVENT_PCLEAVEpf_ev_leavehousep_25_pcenter
P_MODEVENT_RESPAWNpf_ev_pcrespawnp_25_respawn
P_MODEVENT_RESTpf_ev_restp_25_rest
P_MODEVENT_EQUIPpf_ev_equipp_25_equip
P_MODEVENT_UNEQUIPpf_ev_unequipp_25_unequip


features/housing/custom_scripts/module_events.txt · Last modified: 2023/11/30 21:05 by ItsABadger

phpBB Appliance - Powered by TurnKey Linux