Error on cs_get_user_team
A little help please, I've marked line 78 with // LINE 78 ... Can't really think of anything up to this point..
PHP Code:
PHP Code:
|
Re: Error on cs_get_user_team
You need check is_user_connected.
|
Re: Error on cs_get_user_team
Usage looks correct, probably a bug with get_players(). Try not using flags and manually check for alive\hltv and see if it still occurs.
Quote:
|
Re: Error on cs_get_user_team
I've never used get_players before, gotta do some homework then:/ Thank you.
|
Re: Error on cs_get_user_team
Just noticed something, which cs_get_user_team() is the error occurring on?
If it's the below then what is probably happening is the planter disconnects before the bomb explodes: PHP Code:
|
Re: Error on cs_get_user_team
Try this
Code:
|
Re: Error on cs_get_user_team
PHP Code:
|
Re: Error on cs_get_user_team
Quote:
|
Re: Error on cs_get_user_team
Did either of you read my post? I doubt the error is happening on that native call, I think it's the one checking planter ream. And iBrazilian, use the CsTeams tag instead of detagging the function return.
With your code, the XP will only be awarded if the planter remains connected to the server when the bomb explodes (which is dumb), use this: PHP Code:
|
Re: Error on cs_get_user_team
Can CTs plant the bomb ??
Bugsy, you have fotgotten flag "a". Also, i think that in Poke_Give_XP(planter, -1, explode_bonus), planter should be replaced with iPlayer :) |
| All times are GMT -4. The time now is 07:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.