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

IgniteEntity / sm_burn Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 05-26-2009 , 19:35   IgniteEntity / sm_burn Question
Reply With Quote #1

Hey. I have a quick question.

Im just trying to make sure I am doing this properly.

I have a plugin that does sm_burn on people. Id rather avoid the chat spam from sm_burn command, and just do the same effects....

Code:
ServerCommand("sm_burn #%i %f", GetClientUserId(client), GetConVarFloat(c_Burnperiod));
Is it proper to change the above to this? It seems to work and do the same thing.

Code:
IgniteEntity(client, GetConVarFloat(c_Burnperiod));
It looks like it works so, it must be correct, but I wanted to check anyways.
retsam is offline
SamuraiBarbi
Senior Member
Join Date: Aug 2006
Location: United States
Old 05-26-2009 , 19:38   Re: IgniteEntity / sm_burn Question
Reply With Quote #2

IgniteEntity is correct.
SamuraiBarbi is offline
Send a message via AIM to SamuraiBarbi Send a message via MSN to SamuraiBarbi Send a message via Yahoo to SamuraiBarbi
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 02:32.


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