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.