Raised This Month: $12 Target: $400
 3% 

How to determine a new round


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Abominationz
Member
Join Date: Jul 2006
Old 08-11-2006 , 03:41   How to determine a new round
Reply With Quote #1

How do I make it so like say its a new round

public "w/e for a new round"(id) {

if( HasNade[id] ) {

set_user_health(id, 25)

}
Abominationz is offline
SSJ2GOKU
Senior Member
Join Date: Oct 2005
Location: Belgium
Old 08-11-2006 , 04:27   Re: How to determine a new round
Reply With Quote #2

made a little example plugin for ya showing how to capture when a new round starts

Code:
#include <amxmodx> #include <amxmisc> #include <engine> public plugin_init(){         register_plugin("test","v1.0", "ssj2goku")         register_event("HLTV", "new_round", "a", "1=0", "2=0") } public new_round(){         for(new i=1, i<=get_playersnum(), i++){                 if( HasNade[i] ) {                         set_user_health(i, 25)                 }         } }
SSJ2GOKU is offline
Send a message via MSN to SSJ2GOKU
ConManKilla07
BANNED
Join Date: Aug 2006
Old 08-11-2006 , 05:30   Re: How to determine a new round
Reply With Quote #3

Here is VEN's examples of how to properly determine when a round starts and when a player spawn's. Use it , it is a great link
http://forums.alliedmods.net/showthread.php?t=42159
ConManKilla07 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:35.


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