Middle map fireworks.
Hey, i saw fireworks plugin but it's complicated
I just want to call function for example : set_fireworks() and this function sets and launches fireworks in the middle of the map so that both cts and ts could see fireworks from their spawn places. Is it possible? And who can give me concrete code? Because i don't understand advanced scripting. |
Re: Middle map fireworks.
Does anyone know how to do this?
|
Re: Middle map fireworks.
You just have to save their spawn points, as the CSDM do, then spawn them when your call you function. Look at the Gun Game Mod code, it uses spawn points.
But a better code to look is, the Just Capture The Flag Mod, where you can learn how to create spawn points and save them. Its because, there you can configure where to spawn the flags and save their location using commands to move the flag to you location and save that location to the file. |
Re: Middle map fireworks.
Ohh..
How to get coordinates manually to set fireworks? For example i use noclip go on certain part of the map and write get_coord and a function from amxx gets coordination from my possition. But it will be better if i could make amxx get middle map coordinates automaticaly. |
Re: Middle map fireworks.
Quote:
|
Re: Middle map fireworks.
Quote:
|
Re: Middle map fireworks.
Quote:
Quote:
|
| All times are GMT -4. The time now is 17:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.