Raised This Month: $ Target: $400
 0% 

How do i disable " respawn "


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
2wicked
New Member
Join Date: May 2006
Old 05-21-2006 , 12:48   How do i disable " respawn "
Reply With Quote #1

I own a deathmatch server and i need help how do i disable the command
" respawn "
2wicked is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 05-21-2006 , 13:51  
Reply With Quote #2

try this

CVAR amx_respawn <0/1> 0 = block respawn 1 = respawning allowed

Code:
#include <amxmodx> new CVAR_Respawn; public plugin_init() {         register_plugin( "Respawn blocker", "1.0", "Greenberet" );         CVAR_Respawn = register_cvar( "amx_respawn", "1" );         register_clcmd( "respawn", "cmdRespawn" ); } public cmdRespawn( Client ) {         if( get_pcvar_num( CVAR_Respawn ) )                 return PLUGIN_CONTINUE;         return PLUGIN_HANDLED; }
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
Reply


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 16:29.


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