zspawn coding (using old code)
1st. Idk if this is right area.
Im Using Biohazard2.00 beta or something. and i came upon this old code. At first it didnt work. but i changed one of the return values to 1 and it respawned zombies. I Thought it worked at first cause it spawned me to T, but then i noticed some dead people when they typed /zspawn itll put them as CT as a zombie. Help please? Heres my slightly edited one of it, just changed the Return 0 to 1. Located at very bottom Code:
#include < amxmodx > |
Re: zspawn coding (using old code)
Code:
stock InTeam(id)Code:
stock InTeam(id) |
Re: zspawn coding (using old code)
tried it
Code:
#include < amxmodx > |
Re: zspawn coding (using old code)
Why are you adding a stock if you don't use it ?!
Code:
|
Re: zspawn coding (using old code)
is_user_connected and InTeam are not needed, and create set_task
|
Re: zspawn coding (using old code)
Quote:
|
Re: zspawn coding (using old code)
if(!is_user_alive(id))
{ cs_set_user_team(id, CS_TEAM_T); set_task(1.0, "", id); return plugin_handled |
Re: zspawn coding (using old code)
Resolved, Close please.
|
| All times are GMT -4. The time now is 23:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.