Quote:
Originally Posted by Bugsy
get_systime() - 1 and get_systime() + 1 makes no sense and serves no purpose as this just adds or removes 1 second from the current time. You should just do nvault_prune( g_vault , 0 , get_systime() ).
|
Yeah, I figured it out already by taking a look on your nVault thread. Thanks.

Here is the working code..
PHP Code:
public RestartujUbistva()
{
new iPlayer[32], iNum
get_players(iPlayer, iNum)
for(new i; i < iNum; i++)
{
ubistva_igraca[iPlayer[i]] = 0;
}
nvault_prune(g_vault, 0, get_systime())
server_cmd("changelevel de_dust2");
return PLUGIN_CONTINUE
}