 |
|
Senior Member
|

09-16-2019
, 10:59
Re: [ZP] Bonus Box Screenfade
|
#5
|
Quote:
Originally Posted by LearninG
Code:
public fwdTouch(ent, id) {
if(!pev_valid(ent) || !is_user_alive(id)) return FMRES_IGNORED
new classname[32]
pev(ent, pev_classname, classname, charsmax(classname))
if(equali(classname, "supplybox")) {
emit_sound(id, CHAN_AUTO, g_sound, 1.0, ATTN_NORM, 0, PITCH_NORM)
ScreenFade(id, 3.0, 255, 255, 0, 0)
engfunc(EngFunc_RemoveEntity, ent)
remove_task(ent)
if(zp_get_user_zombie(id))
zombie_item(id)
else
human_item(id)
}
return FMRES_IGNORED
}
|
When I do this good I have this message in compiler "cstrike\addons\scripting\z.sma(119) : error 017: undefined symbol "ScreenFade"
|
|
|
|