AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   FIXED (https://forums.alliedmods.net/showthread.php?t=208709)

Unkolix 02-16-2013 17:51

FIXED
 
new vmr
/*...*/
public plugin_init()
{
vmr = register_cvar("vip_menu_round","3") // From which round VIP can take VIP menu
}
/*...*/
public cmdvipmenu(id)
{
round++;
if( round > get_pcvar_num(vmr) )
{
Showrod(id)
}
}
/*...*/
public Event_RoundRestart(id)
{
round=0;
}

Had to remove round++ from cmdvipmenu and add it on round start...


All times are GMT -4. The time now is 21:38.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.