Map Voting - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Map Voting (
/showthread.php?tid=229377)
Map Voting -
TheIncredibleGomma - 21.02.2011
Hi,
I am working on a TDM Script and I want more than one map. At the moment I just let the server restart after every round. My question is now, how can I create a voting system? Or well, I know how to create a dialog and (mapname)++; but I really don't know:
- How to change the spawns after the voting has finished
- How to delete the vehicles/objects from the old map and load the new ones for the new map
Thanks
Re: Map Voting -
AlExAlExAlEx - 21.02.2011
It would be easier to have a GM for every map.
Re: Map Voting -
Cameltoe - 21.02.2011
Try calling OnGameModeInit();
AW: Re: Map Voting -
TheIncredibleGomma - 21.02.2011
Quote:
Originally Posted by AlExAlExAlEx
It would be easier to have a GM for every map.
|
That's true. But I dislike the waiting time between every restart.
But still, how can I delete vehicles? So that they won't respawn?