Thread: [Subplugin Submission] [ZP] Sub-Plugin: Ultimate Bank 1.1
View Single Post
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 07-14-2010 , 06:47   Re: [ZP] Sub-Plugin: Ultimate Bank 1.0
Reply With Quote #5

Regarding this:
Code:
if (get_pcvar_num(pcvars[advertise]))     {         thinkobj = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"));         if (!pev_valid(thinkobj))             return;                 set_pev(thinkobj, pev_classname, "advertisement_loop");         set_pev(thinkobj, pev_nextthink, get_gametime() + get_pcvar_float(pcvars[advertise]));         register_forward(FM_Think, "fourmin_think");     }

you may use a set_task with flag b for advertising since creating an entity for this small function deosnt make's any sense
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman