This how code looks. the problem i set boolean true but it doesnt works
PHP Code:
new bool:g_bAwpRound;
public func(id)
{
if(g_iRound % 10 != 0)
return PLUGIN_HANDLED;
else if(g_iRound % 10 == 0 || g_bAwpRound)
{
give_item(id, "weapon_awp")
}
}
Ok i see it now. because it is about that return.
changed to now.
PHP Code:
if(g_iRound % 10 == 0 || g_bAwpRound)
{
give_item(id, "weapon_awp")
}