Server Crash
Why do my server Crash when im using kill code
Code:
set_pev(ent, pev_flags, pev(ent, pev_flags) | FL_KILLME);or Code:
engfunc(EngFunc_RemoveEntity, ent);Code:
register_forward(FM_SetModel, "fwdSetModel", 1);Code:
public fwdSetModel(ent,const model[])Code:
public KILL(ent) |
Re: Server Crash
Probably because variable ent in KILL function is 0. To make it store entity index you need to set task like this:
PHP Code:
|
Re: Server Crash
Quote:
Code:
public fwdSetModel(ent,const model[]) |
Re: Server Crash
You wrote that const model[] out of nowhere...
|
Re: Server Crash
and the check in KILL function is wrong (right now you are trying to remove entity when it's not valid).
|
Re: Server Crash
Quote:
|
Re: Server Crash
Quote:
When im spam throw dodgeball the server crashes Code:
public fwdSetModel(ent,const model[]) |
| All times are GMT -4. The time now is 20:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.