Raised This Month: $ Target: $400
 0% 

change a plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ch3cker
Veteran Member
Join Date: Jun 2005
Location: Deutschland / Baden-Würt
Old 08-25-2006 , 09:46   change a plugin
Reply With Quote #1

hi all
can someone change the "no rush" plugin by GHW_Chronic

it kills players if they on the middle of the map so I want that the player is teleportet back to his base with a godmode of 2 seconds (spawnprotection)...

Here is the part where the player will be killed:
Code:
if(get_distance(origin,Tspawn_loc)<get_distance(origin,CTspawn_loc) && teamnum==2)
	{
		user_kill(id)
		client_print(id,print_chat,"[AMXX] No crossing the middle line.")
	}
	else if(get_distance(origin,CTspawn_loc)<get_distance(origin,Tspawn_loc) && teamnum==1)
	{
		user_kill(id)
		client_print(id,print_chat,"[AMXX] No crossing the middle line.")
	}
	return PLUGIN_CONTINUE
I tryed myself but I am not so good at scripting ...

Thanks for help
__________________
SORRY 4 MY BAD ENGLISH
ch3cker is offline
 



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 07:27.


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