Raised This Month: $ Target: $400
 0% 

DispatchKeyValue woes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bad HAL 9000
Senior Member
Join Date: Mar 2004
Location: Minnesota, USA
Old 06-28-2004 , 23:07  
Reply With Quote #9

Bumpage, this doesnt work


Code:
public create_powerup(id) {     /*Made by AssKicR.. CopyLeft 2004->Eternity*/     new ent = create_entity("ts_powerup")     new pwup[4]     format(pwup,4,"%d",256)     DispatchKeyValue(ent, "pwuptype", pwup)     DispatchKeyValue(ent, "duration", "60")     DispatchKeyValue(ent, "message", "")     DispatchSpawn(ent)     new parm[2]     parm[0]=id     parm[1]=ent     set_task(1.0,"give_powerup",0,"parm",2) } public give_powerup(parm[]) {     /*Made by AssKicR.. CopyLeft 2004->Eternity*/     new id = parm[0]     new ent = parm[1]     new Float:fNewOrigin[3]     entity_get_vector(id, EV_VEC_origin, fNewOrigin)     entity_set_origin(ent, fNewOrigin)     fake_touch(id,ent)     fake_touch(ent,id)     remove_entity(ent) }
__________________
Bad HAL 9000 is offline
Send a message via ICQ to Bad HAL 9000 Send a message via AIM to Bad HAL 9000 Send a message via MSN to Bad HAL 9000 Send a message via Yahoo to Bad HAL 9000
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode