Creating and removing markers

Started by Spice, Aug 06, 2015, 07:33 AM

Previous topic - Next topic

Spice

Is it possible that i creat and remove markers during game.....
For example a marker of gun if i use it on every ammunation and then i want to remove a specific ammunation's marker.....is it possible to do that without closing or restarting server......



I was thinking to store all the markers and their locs in database like id 1 marker of  downtown ammunation and 2 of north point mall .......like this...? am i right?....if yes then also tell me if there is any other easy and alternate idea.....?

ThankX

Thijn

Yes, you can remove a marker using DestroyMarker( id )

Spice

so i should use method that i have posted.....(i.e database)...?

DizzasTeR

Why database? just use an array to store all the locations of markers... and then use it accordingly.

Thijn

Quote from: Doom_Killer on Aug 06, 2015, 09:52 AMWhy database? just use an array to store all the locations of markers... and then use it accordingly.
This, unless they change a lot, which I doubt.