Raised This Month: $ Target: $400
 0% 

wiered crash


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 09-15-2004 , 16:17   wiered crash
Reply With Quote #1

i have the following code (using NS b5)
Code:
public entholo(id){     entid = create_entity("info_target")     delid = entid     entity_set_string(entid,EV_SZ_classname,"ent")     entity_set_model(entid, "models/dancer.mdl")     new Float:MinBox[3]     new Float:MaxBox[3]     MinBox[0] = -10.0     MinBox[1] = -10.0     MinBox[2] = -45.0     MaxBox[0] = 10.0     MaxBox[1] = 10.0     MaxBox[2] = 33.0         set_size(entid, MinBox, MaxBox)         new pharm[1]     pharm[0] = id     set_task(0.1,"holdent",1000+id,pharm,1,"b")     return PLUGIN_HANDLED } public holdent(pharm[]){     new id = pharm[0]     new Float:look_start_vec[3]         pev(id,pev_origin, look_start_vec)         set_pev(entid, pev_origin, look_start_vec)         if ( !nowdrop  ){         set_pev(entid, pev_solid, 1)         set_pev(entid, pev_renderfx, kRenderFxHologram)         set_pev(entid, pev_rendermode, kRenderTransAdd)         set_pev(entid, pev_renderamt, 100.0)     }else{         remove_task(1000+id)         set_pev(entid, pev_solid, 2)         set_pev(entid, pev_movetype, 4)         nowdrop = 0     }     return PLUGIN_HANDLED } public entdrop(id){     nowdrop = 1     return PLUGIN_HANDLED }
it is working with AMXx 0.2 tp5 + ns2amx but with AMXx 0.2 tp5 + engine + fakemeta it crashes (in NS b4 it has worked),
exactly after using enthold,entdrop,enthold,entdrop and using now enthold it just crashs

any1 can help plz ?

error:
Attached Thumbnails
Click image for larger version

Name:	error.jpg
Views:	179
Size:	15.5 KB
ID:	1534  
__________________
alias White Panther
karlos is offline
 



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 17:20.


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