AlliedModders

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

Lowfyr 11-19-2011 07:32

Nemesis Slay
 
Hello,

I need here some help, how can i add here that the rounds reset if player is a nemesis?

PHP Code:

  if(gamemode == MODE_NEMESIS)
 
   {
           if (
get_pcvar_num(round))
          {
          
i=1;
          static 
name[32]
          
get_user_name (idname32)
 
          
client_print(0print_chat"%s has been slayed!"name)
           
user_kill(get_user_userid(id))
        
 
          }
   } 

If its the 6 round, then should be reset to 0. I hope anyone can help me ;)


All times are GMT -4. The time now is 08:23.

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