Raised This Month: $ Target: $400
 0% 

[Help] Don't camp near the bomb


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-27-2015 , 11:47   Re: [Help] Don't camp near the bomb
Reply With Quote #6

Quote:
Originally Posted by tuty View Post
check if is a valid entity? pev_valid
Quote:
Originally Posted by Bugsy View Post
I made the following changes:
  • Removed PreThink and using a task instead with an interval of 1 second. PreThink was a terrible idea for something like this.
  • Added a pev_valid() check to see if that fixes the error. <- tuty said to do this, which I did for you.
  • Made the task only create if the current map has a 'de' prefix (de_dust, de_dust2, etc).
Quote:
Originally Posted by Mirk View Post
No, I don't added valid entity, thank you for advise.
Quote:
Originally Posted by tuty View Post
what? Bugsy, explain kindly to this lad, what i have just said and what you have done.
__________________
Bugsy 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 18:10.


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