Raised This Month: $ Target: $400
 0% 

Custom Block weapon pickup (CSS)


Post New Thread Reply   
 
Thread Tools Display Modes
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-15-2010 , 13:55   Re: Custom Block weapon pickup (CSS)
Reply With Quote #31

Err. I'm not sure what I was thinking with that previous statement. In any case, try removing StripAndGive from player spawn and see if it crashes.
__________________
thetwistedpanda is offline
russy
Senior Member
Join Date: Sep 2010
Old 10-15-2010 , 14:03   Re: Custom Block weapon pickup (CSS)
Reply With Quote #32

lol and no didn't stop crashing >.<
russy is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-15-2010 , 14:08   Re: Custom Block weapon pickup (CSS)
Reply With Quote #33

Well since you removed the code again I can't look over it, but I suspect you'd like to keep it private? Little reason to, it's been done time and time again and if you're trying to get support, you're only making it harder on yourself. In any case, the next step I'd take is to create two timers, one inside each case, and use those timers to delete the weapons. Perhaps the code is firing before the item has registered.
__________________
thetwistedpanda is offline
russy
Senior Member
Join Date: Sep 2010
Old 10-15-2010 , 14:43   Re: Custom Block weapon pickup (CSS)
Reply With Quote #34

well i removed the StripAndGive and it still crashed so hows putting a timer on something which didn't make a differance when it wasn't even thier going help?
russy is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-15-2010 , 14:58   Re: Custom Block weapon pickup (CSS)
Reply With Quote #35

Why not try adding PrintToServer("1"); etc on every line, and see where it crashes/stops printing numbers. Obviously you would want to increment the numbers in each print.
__________________
Silvers is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-15-2010 , 15:26   Re: Custom Block weapon pickup (CSS)
Reply With Quote #36

The timer goes into item_pickup, to make sure it's trying to remove it after the player receives it. I've never had an issue with it, tbh.
__________________
thetwistedpanda is offline
russy
Senior Member
Join Date: Sep 2010
Old 10-15-2010 , 15:33   Re: Custom Block weapon pickup (CSS)
Reply With Quote #37

ye i don't understand it myself lol
russy is offline
russy
Senior Member
Join Date: Sep 2010
Old 10-15-2010 , 16:41   Re: Custom Block weapon pickup (CSS)
Reply With Quote #38

not exactly how i wanted to do it but i got CT restrictions
russy is offline
russy
Senior Member
Join Date: Sep 2010
Old 10-15-2010 , 18:44   Re: Custom Block weapon pickup (CSS)
Reply With Quote #39

is thier away either through the mod or a server to command to turn "cl_autowepswitch" to "0" on the server side? since it's a cleint side command
russy 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 17:12.


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