Fire Help
#1

Can some one tell me how to find whether the player is in fire or not, like when u molo someone they are on fire and i must stop them from using some commands, can u tell me?
Reply
#2

You can't detect if player is on fire, but you can script so you can detect if player is losing health.
Reply
#3

can u tell me how? cuz i am p noob in scripting
Reply
#4

bump, plz help
Reply
#5

You would need a timer and you would need to store player's old health and check it with current health.
Search around.
Reply
#6

Quote:
Originally Posted by Don Correlli
You can't detect if player is on fire, but you can script so you can detect if player is losing health.
Hmm, it's possible, but a little buggy.
Think about OnnPlayerKeyStateChange
Reply
#7

Quote:
Originally Posted by yezizhu
Quote:
Originally Posted by Don Correlli
You can't detect if player is on fire, but you can script so you can detect if player is losing health.
Hmm, it's possible, but a little buggy.
Think about OnnPlayerKeyStateChange
What does what the player is pressing have anything to do with it?
Reply
#8

Quote:

What does what the player is pressing have anything to do with it?

I don't make sense...
I've written an anti-lock ammo script, it catches rule breakers everyday.
But someone said they don't know why they get arrestted when they try to should near a wall ,I know XD
So it's a little buggy.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)