Raised This Month: $12 Target: $400
 3% 

Set player on fire


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 02-18-2019 , 15:50   Set player on fire
Reply With Quote #1

Hello,

Ive been looking for a function which could set a player on fire, like Ive seen on some servers that you could do such a thing using grab, and if you'd jump in water, the fire would be gone as well. It also does certain amount of damage every second (approx.)

Any ideas?
__________________

Last edited by SomewhereLost; 02-18-2019 at 15:51.
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 02-18-2019 , 16:12   Re: Set player on fire
Reply With Quote #2

All grand, found it.
__________________
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-18-2019 , 16:41   Re: Set player on fire
Reply With Quote #3

Fire = sprite attached to the player + sound + damage
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 02-18-2019 , 18:15   Re: Set player on fire
Reply With Quote #4

Yeah Ive done that far but cant really do the water thing.
__________________
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 02-18-2019 , 20:57   Re: Set player on fire
Reply With Quote #5

If pev_waterlevel >= 2 -> remove fire.
__________________









Last edited by CrazY.; 02-18-2019 at 20:58.
CrazY. is offline
SomewhereLost
AlliedModders Donor
Join Date: Mar 2014
Location: Tomorrowland
Old 02-19-2019 , 14:12   Re: Set player on fire
Reply With Quote #6

Quote:
Originally Posted by CrazY. View Post
If pev_waterlevel >= 2 -> remove fire.
Thanks for that, worked like a charm.
__________________
SomewhereLost is offline
Send a message via Skype™ to SomewhereLost
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 12:17.


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