Raised This Month: $ Target: $400
 0% 

+Use to open door


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blackops7799
Senior Member
Join Date: May 2006
Old 01-23-2007 , 21:53   Re: +Use to open door
Reply With Quote #1

well its working, but Im getting spammed in my console and it is also freezing alot.

Code:
L 01/23/2007 - 21:03:06: [ENGINE] Invalid player 0 (not in-game)
L 01/23/2007 - 21:03:06: [AMXX] Displaying debug trace (plugin "doormod.amxx")
L 01/23/2007 - 21:03:06: [AMXX] Run time error 10: native error (native "force_use")
L 01/23/2007 - 21:03:06: [AMXX]    [0] doormod.sma::client_PreThink (line 15)

Code:
#include <amxmodx> #include <amxmisc> #include <engine> public plugin_init() {     register_plugin("Door Mod", "1", "Jake") } public client_PreThink(id) {     new entbody, entid     get_user_aiming(id,entid,entbody,200)     if(entity_get_int(id,EV_INT_button) & IN_USE && !(entity_get_int(id,EV_INT_oldbuttons) & IN_USE))     {         force_use(id,entid)         fake_touch(entid,id)         return PLUGIN_CONTINUE     }     return PLUGIN_CONTINUE }
blackops7799 is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 01-23-2007 , 22:33   Re: +Use to open door
Reply With Quote #2

Try changing it to the thing I said before.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 22:24.


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