PHP Code:
public newRound(id)
{
noob_checklevel(id)
if ( gHasnoobPower[id] )
{
noobs[id] = get_cvar_num("noob_arrows")
gLastWeapon[id] = -1 // I think the change Weapon automatically gets called on spawn death too...
if ( get_cvar_num("noob_getdeagle") == 1 )
shGiveWeapon(id,"weapon_deagle")
}
}
I already tried but doesn't work...this function is executed every time when player is respawned...I don't know why.
PHP Code:
register_event("ResetHUD","newRound","b")
I thought that a solution would to get round timmer, so if player is revived after first 10 seconds of a round he will not receive other bullets.