Scripting Help : Random Cords and Take_damage
its for my Lightning plugin :D
got a native i need help in or just what .inc its in 1 : Take_damage ( how to use and what .inc ) and Code:
how to spawn the Lightnings Random places ? so they spawn in random places at random time to make a Lightning Weather plugin :D PS : Just switched to AMXX so i suck at it :( |
how bout fakedamage()? its in engine_stocks.inc :)
Code:
random time would be easy to do, but coords could easily get set outside the map :o Code:
|
Quote:
but i still need how to Make the lightnings to spawn at random places and : Where is Native : User_spawn and Remove_entities Located ? |
random_num() :roll:
|
remove_entitiy is in engine, and there is a cs_user_spawn in the counter strike module.
What do you want to do with user spawn exactly? |
Get a players origin then set a task to make lightning at the origin some time later, it will seem random.
|
Quote:
|
Does fakedamage() handle the death as well?
|
Quote:
|
Code:
Something like that I guess... |
| All times are GMT -4. The time now is 05:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.