Raised This Month: $ Target: $400
 0% 

Last One,Suicide


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
broertje
Senior Member
Join Date: Mar 2005
Old 10-16-2005 , 15:50   Last One,Suicide
Reply With Quote #1

How Can I Sett So If He Dies With /explode the sprite appears for the explosion *Edit* : And If There Are Enemy Players Nearby They Will Get Hurted.
Code:
#include <amxmodx> #include <amxmisc> #include <fakemeta> #include <engine> #define PLUGIN "New Plugin" #define VERSION "1.0" #define AUTHOR "Author" #define TASK_EXPLODE 78798479879789789456759457694 new gExplosion public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         register_clcmd("say /explode", "sayExplode") } public plugin_precache() {     gExplosion =  precache_model("sprites/mushroom.spr") }   public sayExplode(id)   {   user_kill(id,1) }
broertje is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-16-2005 , 16:20  
Reply With Quote #2

Lol, you stole some of my code




Code:
#include <amxmodx> #include <amxmisc>   #include <engine> #define PLUGIN "Sucide Explosion" #define VERSION "1.0" #define AUTHOR "Zenith77" new gExplosion public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         register_clcmd("say /explode", "sayExplode") } public plugin_precache() {     gExplosion =  precache_model("sprites/mushroom.spr") }   public sayExplode(id) {           new origin[3]     new Float:forigin[3]     get_user_origin(id, origin, 0)         message_begin( MSG_BROADCAST,SVC_TEMPENTITY,vec1)     write_byte( 3 )     write_coord(origin[0])     write_coord(origin[1])     write_coord(orgiin[2])     write_short( gExplosion)     write_byte( 60 ) // byte (scale in 0.1's) 188     write_byte( 10 ) // byte (framerate)     write_byte( 0 ) // byte flags     message_end()         IVecFVec(origin, forigin)         RadiusDamage(forigin, 30,  60)         user_kill(id, 0) }
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
broertje
Senior Member
Join Date: Mar 2005
Old 10-16-2005 , 16:34  
Reply With Quote #3

yes,from NukeTest :d,thx
broertje is offline
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 23:58.


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