Plugin Help - please
This is my first plugin and what I want it to do is that when you pick up an AWP it sets you on fire, and the fire does 10 damage every second...so you have 10 seconds to live.
And to check if they have the weapon you would have to register_event the "CurWeapon" event if I believe so...would it be like this? Code:
register_event("CurWeapon", "PickUpWeap") |
Code:
Code:
|
thanks v3x :) you're great
|
Use a task for the fire damage
|
btw: If you don't know how to set ppl on fire, just have a look at the code of amx_atac, it's a great plugin to learn from.
Are you going to implement a function that players who throw away their AWP are freed from the fire? I don't know if there's an event for this (V3x? :P ), if not just glue a function to the "drop" command. Greetz MGee |
| All times are GMT -4. The time now is 16:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.