Wait
PHP Code:
|
Re: Wait
set_task
|
Re: Wait
I'm a retarded --'
Thank you |
Re: Wait
Code Edited.
I have a problem with the set_task .. looked here how to use it properly, but still dont work. I want a function to be executed 5 sec after respawn, so i did that ( see the code in the top ) Anyone can tell me what is my error ? Thx |
Re: Wait
You didn't put a set_task() function in the spawn forward. Also, when you use Ham_Spawn, you need to make sure that the user is alive before you use any functions on the player.
|
Re: Wait
fysiks, i love you !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
It's working great !!!! Thanks you so much (Code Edited) |
Re: Wait
You don't need any task, and you forgot to check if user is alive in spawn callback :
PHP Code:
PHP Code:
|
Re: Wait
I need task, or something like that because i want admins to receive 130 hp and to have deagle 5 sec after respawn (for avoiding conflict with another plugin, and for some style :)). But i wasn't thinking on allocating string model. I'm not used to do plugins with models ^^'.
With your version, no model is displaying. The deagle stays white. :o |
| All times are GMT -4. The time now is 10:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.