Raised This Month: $ Target: $400
 0% 

[solved][THX] can someone plz look at code using first time Trie


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 12-04-2010 , 03:54   Re: can someone plz look at code using first time Trie
Reply With Quote #1

yes it compiles and work i have test it befor i post it...
but like say i was not 100% sure if i done it correct...
you are right i found some of a billion examples in the forum
other way the code wont exsist

but thx anyway Arkshine for confirm me that code is ok
__________________

Last edited by vato loco [GE-S]; 12-04-2010 at 07:07.
vato loco [GE-S] is offline
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 12-04-2010 , 03:56   Re: can someone plz look at code using first time Trie
Reply With Quote #2

ok thx connor
__________________
vato loco [GE-S] is offline
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 12-04-2010 , 04:58   Re: can someone plz look at code using first time Trie
Reply With Quote #3

any reason why you use 2 times doorsound ???
__________________
vato loco [GE-S] is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-04-2010 , 05:55   Re: can someone plz look at code using first time Trie
Reply With Quote #4

No.

Any reason you don't use edit button ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 12-04-2010 , 07:04   Re: can someone plz look at code using first time Trie
Reply With Quote #5

No
__________________
vato loco [GE-S] is offline
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 12-04-2010 , 10:00   Re: can someone plz look at code using first time Trie
Reply With Quote #6

hmm getting this error...and entities are not removed

Code:
L 12/04/2010 - 15:56:17: Start of error session.
L 12/04/2010 - 15:56:17: Info (map "bhkz_wicked") (file "addons/amxmodx/logs/error_20101204.log")
L 12/04/2010 - 15:56:17: Invalid trie handle provided (0)
L 12/04/2010 - 15:56:17: [AMXX] Displaying debug trace (plugin "test.amxx")
L 12/04/2010 - 15:56:17: [AMXX] Run time error 10: native error (native "TrieKeyExists")
L 12/04/2010 - 15:56:17: [AMXX]    [0] test.sma::fw_Spawn (line 109)
PHP Code:
public fw_Spawn(iEnt)
{
    if(!
pev_valid(iEnt))
    {
        return 
FMRES_IGNORED
    
}
    new 
ClassName[32]
    
pev(iEntpev_classnameClassName31)
    
    if(
TrieKeyExists(g_tRemoveEntitiesClassName))// line 109
    
{
        
engfunc(EngFunc_RemoveEntityiEnt)
        return 
FMRES_SUPERCEDE
    
}
    return 
FMRES_IGNORED

__________________
vato loco [GE-S] is offline
Reply



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 11:24.


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