Quote:
Originally Posted by aron9forever
go to the line, and add above the line if(!is_user_alive(id)) return PLUGIN_HANDLED
so if you have at lne 521
xxx
createsentryhead(id)
xxx
make it
xxx
if(!is_user_alive(id)) return PLUGIN_HANDLED
createsentryhead(id)
xxx
also check index, if it's not "id" and it's something like "target "player" "iplayer" or whatever, use that
|
Sorry, but there is not so simple ... There are already conditions:
Code:
xxx
if(!is_user_connected(creator))
{
521 sentry_detonate(ent, true, false)
return
}
xxx
Code:
xxx
// Put the last sentry in the deleted entity's place
if(0 > (g_sentriesNum - 1) > MAXSENTRIES) return
988 g_sentries[i] = g_sentries[g_sentriesNum - 1]
xxx