Raised This Month: $ Target: $400
 0% 

Smoke


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bruno
Member
Join Date: Jun 2005
Old 12-18-2005 , 13:03   Smoke
Reply With Quote #1

Is it possible to completely fill a player with smoke for about 3 seconds?
Bruno is offline
DarlD
Senior Member
Join Date: Aug 2004
Old 12-19-2005 , 01:33  
Reply With Quote #2

maybe if you make like 10 smokes spawn on the guy, and they would'nt be active so dont think so.

unless you use sprites and you make em spawn on the guy.
__________________
DarlD is offline
Send a message via MSN to DarlD
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 12-19-2005 , 15:24   Re: Smoke
Reply With Quote #3

Quote:
Originally Posted by Bruno
Is it possible to completely fill a player with smoke for about 3 seconds?
Do you mean completely cover someone with smoke?
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
Bruno
Member
Join Date: Jun 2005
Old 12-19-2005 , 16:41  
Reply With Quote #4

Yeah or at least make it look like the smoke is right in front of him. But it covers a large radius. At least as tall as him too.
Bruno is offline
Bruno
Member
Join Date: Jun 2005
Old 12-19-2005 , 20:01  
Reply With Quote #5

Does anyone know what I am talking about?
Bruno is offline
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 12-20-2005 , 10:26  
Reply With Quote #6

Not really... as it seems
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 12-20-2005 , 12:17  
Reply With Quote #7

Actually, I do.
I can help you out later today when I get home
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
Bruno
Member
Join Date: Jun 2005
Old 12-20-2005 , 17:58  
Reply With Quote #8

Finally someone that understands.
Bruno is offline
Bruno
Member
Join Date: Jun 2005
Old 12-20-2005 , 22:24  
Reply With Quote #9

So can you help me?
__________________
If you have but one shot at an opportunity, make it count.
Bruno is offline
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 12-21-2005 , 08:18  
Reply With Quote #10

You need to add a global var
Code:
new smoke
You also have to add this in plugin_precache
Code:
smoke = precache_model("Your sprite dir")
And here is the code for the message. I think it will only play one cycle, so you might have to use a task to keep it going.
Code:
new origin[3] get_user_origin(id,origin,0) message_begin(MSG_ALL,SVC_TEMPENTITY) write_byte(113) // TE_BUBBLES write_coord(origin[0]) write_coord(origin[1]) write_coord(origin[2] - 48) write_coord(origin[1]) write_coord(origin[1]) write_coord(origin[2] + 64) // Edit the second var to edit height write_short(smoke) write_byte( ) // "Count" goes in here, try messing around it (Interger) write_coord( ) // "Speed" goes in here, try messing around it (Interger) message_end()
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
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:02.


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