Raised This Month: $ Target: $400
 0% 

amx_respawn


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
_Rustynails_
Junior Member
Join Date: Aug 2004
Old 06-18-2005 , 19:31   amx_respawn
Reply With Quote #1

Hi everyone.
In september, I had made an amx_respawn plugin, but people reported compiling errors. Well, fear not! I have fixed the errors and am re-submitting it!
This even supports spectator-respawning!

So without further... waiting...

Code:
#include <amxmodx> #include <amxmisc> #include <cstrike> #include <fun> public plugin_init() {   register_plugin("AMX-RESPAWN","0.1","Rustynails")   register_clcmd("amx_respawn","user_respawn",ADMIN_BAN) } public user_respawn(id) { new uname[32], user[32], uid read_argv(1,user,31) uid = find_player("bl",user) get_user_name(id,uname,32) get_user_name(uid,user,32) if (uid) { if (!is_user_alive(uid)) { if (access(id,ADMIN_BAN)) { spawn(uid) console_print(id,"[RESPAWN 0.1] Respawned %s successfully.",user) client_print(id,print_chat,"[RESPAWN 0.1] Respawned %s successfully.",user) } else { console_print(id,"[RESPAWN 0.1] You cannot access this command.") } } else { console_print(id,"[RESPAWN 0.1] User %s is currently alive.",user) } } else { console_print(id,"[RESPAWN 0.1] Could not find user.") } return PLUGIN_HANDLED }
Attached Files
File Type: sma Get Plugin or Get Source (amx_respawn.sma - 816 views - 893 Bytes)
__________________
Rustynails [Administrator]
www.rusty-designs.com
Please donate generously.
_Rustynails_ is offline
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 06-18-2005 , 19:53  
Reply With Quote #2

can you also post the sma so people dont have to compile it themselves?
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
_Rustynails_
Junior Member
Join Date: Aug 2004
Old 06-18-2005 , 20:14  
Reply With Quote #3

done
__________________
Rustynails [Administrator]
www.rusty-designs.com
Please donate generously.
_Rustynails_ is offline
simplysped
Member
Join Date: Mar 2005
Old 06-18-2005 , 23:31  
Reply With Quote #4

great, thanks a bunch i use this plugin in all my servers :>
__________________
www.countersurf.com a Counterstrike Surfing Community
simplysped is offline
Send a message via AIM to simplysped Send a message via MSN to simplysped
RocketMan
Junior Member
Join Date: May 2005
Location: College
Old 06-19-2005 , 02:26  
Reply With Quote #5

i like this plugin. But maybe you should make it that so it doenst effect your rank. Cuz it screwZ it Up!!
__________________
Why Drink and Drive when you can Smoke and Fly??

:-D LuCky DiCe :-D
RocketMan is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 06-19-2005 , 02:28  
Reply With Quote #6

Well for that you can edit how your rank score is calculated and you can take off deaths affecting your rank thats what i did.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Silverice146
Member
Join Date: Mar 2005
Location: In a box
Old 06-19-2005 , 14:21  
Reply With Quote #7

ok... this seems very redundant...

theres like /*EDIT 4*/ already, a mass respawner, an individual respawner, and the deathmatch thing by BAIL and one by twistedeuphoria

Here...
And here...
Also here...
Wait, one here too

EDIT: will it even work? BTW: NICE INDENTING MAN! YEAH!
who here that has written in has used this?
__________________
Silverice146 is offline
Send a message via AIM to Silverice146
RaD-PimP
Member
Join Date: May 2005
Location: Stamford, CT
Old 06-19-2005 , 17:58  
Reply With Quote #8

for me all of the plugins look diffrent. and the last 2 are mods and have nothin to do with this
RaD-PimP is offline
SuperMan911
Junior Member
Join Date: Jun 2005
Location: Chicago
Old 06-19-2005 , 19:26  
Reply With Quote #9

Speechless... I love this plugin.
__________________
-------------------=SuperMan=-------------------
-----------We all believe in SuperMan-----------
SuperMan911 is offline
Send a message via AIM to SuperMan911
Silverice146
Member
Join Date: Mar 2005
Location: In a box
Old 06-19-2005 , 21:44  
Reply With Quote #10

ok it dosent really matter if the code looks different in each one, its the fact that they do the same thing...
__________________
Silverice146 is offline
Send a message via AIM to Silverice146
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 21:44.


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