Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public FMForward_PlaybackEvent(flags, invoker, eventindex)
- {
- new model[64];
- pev(invoker, pev_model, model, charsmax(model));
- if (eventindex == g_eventid_createsmoke && equal(model, W_MODEL)
- return FMRES_SUPERCEDE
- return FMRES_IGNORED
- }
- public FMForward_Think(entity)
- {
- new id, model[64]
- id = pev(entity, pev_owner);
- pev(id, pev_model, model, charsmax(model));
- if (equal(model, W_MODEL &&!g_Mode[id])
- {
- if(get_pdata_int(entity, 114) & (1<<1))
- set_pev( entity, pev_flags, FL_ONGROUND )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement