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
__________________