Raised This Month: $ Target: $400
 0% 

Respawn Round(Solved, Thx Exolent)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 07-30-2008 , 17:29   Respawn Round(Solved, Thx Exolent)
Reply With Quote #1

Hi friend I need some help.

I need that this respawn only work 10 seconds in the round start.

PHP Code:
public death_msg() 
{  
 {
  new 
vIndex read_data(2
  new 
svIndex[2]
  
svIndex[0] = vIndex
  set_task
(2.0,"respawn",0,svIndex,2
 } 
 return 
PLUGIN_CONTINUE 

public 
respawn(svIndex[]) 

 new 
vIndex svIndex[0
 if(
get_user_team(vIndex) == || is_user_alive(vIndex)) 
  return 
PLUGIN_CONTINUE 
 spawn
(vIndex
 
 return 
PLUGIN_CONTINUE    

__________________

Last edited by AntiBots; 07-31-2008 at 18:21.
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
 


Thread Tools
Display Modes

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 05:33.


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