Thread: Restart frags
View Single Post
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-06-2014 , 19:06   Re: Restart frags
Reply With Quote #3

Quote:
Originally Posted by Strick3n View Post
try to change this:
PHP Code:
server_cmd ("sv_restart 1"); 
to this:
PHP Code:
set_cvar_num"sv_restart"); 
They are the same thing.


Don't check every player's frags on each kill - Check only the killer's frags.
Also, frags haven't been updated at this stage therefore check your cvar num - 1.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline