Raised This Month: $ Target: $400
 0% 

set model + prevent crash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
toazron1
Senior Member
Join Date: Oct 2006
Old 07-13-2007 , 12:42   Re: set model + prevent crash
Reply With Quote #1

Quote:
Originally Posted by _Master_ View Post
2. remove is_user_alive() from the task.
You might need to need an alive check depening on how CS works for setting the model. I know NS resets its model when the person spawns. However, you don't need is_user_alive and is_user_connected, its redundent.
__________________
toazron1 is offline
Send a message via AIM to toazron1
_Master_
Senior Member
Join Date: Dec 2006
Old 07-16-2007 , 06:46   Re: set model + prevent crash
Reply With Quote #2

Quote:
Originally Posted by toazron1 View Post
You might need to need an alive check depening on how CS works for setting the model. I know NS resets its model when the person spawns. However, you don't need is_user_alive and is_user_connected, its redundent.
Set model relies on pre_think to "keep" the model after new_round. It does not need the user to be alive but connected.
@ Ownage: my statement above.
_Master_ is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-16-2007 , 07:09   Re: set model + prevent crash
Reply With Quote #3

public zplugin_precache(){

Should be

public plugin_precache(){

Except if zplugin_precache is st from umitem.inc but i don't think so.
ConnorMcLeod 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 21:31.


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