Quote:
Originally Posted by frOOgy
I have one question: How to make when you die, your mines will be removed ?
|
In public plugin_init() add this
PHP Code:
RegisterHam(Ham_Killed, "player", "fw_PlayerKilled");
Then anywhere in the code add this
PHP Code:
public fw_PlayerKilled(id)
{
RemoveAllTripmines(id)
}