Zspawn
PHP Code:
Quote:
|
Re: Zspawn
This is just a remake of biohazard ...or what ??
1)the native cs_get_user_team maybe won't work...Because your plugin set team with another method ...(fm_get_user_team...or what ??) 2) Is there any logs when debug....post here.. |
Re: Zspawn
Usually before checking player team with "cstrike" you must check if it's connected...try it.
if(is_user_alive(id) && is_user_connected(id)) //some ... |
Re: Zspawn
I don't know if you have to set the team, infect_user() probably does that.
Also, setting a 1 second task is unnecessary, just call the function directly. |
Re: Zspawn
Quote:
Quote:
Quote:
@ 5c0r-|3i0 The issue is I cannot enable debug, it crashes. (Tested on 3 different servers) @ Alka I've tried that and like Xellath stated, infect_user does it @ Xellath Could you show me an example on how I should directly do it? |
Re: Zspawn
Do what alka said
PHP Code:
|
Re: Zspawn
Quote:
I'll test it when I get home (1 week) |
Re: Zspawn
Quote:
Try with debug just the code: PHP Code:
|
Re: Zspawn
PHP Code:
|
Re: Zspawn
Quote:
|
| All times are GMT -4. The time now is 18:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.