SA-MP Forums Archive
enum change - 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: enum change (/showthread.php?tid=198001)



enum change - BlackWolf120 - 10.12.2010

hi,
is it possible to do a map change with enum?

pawn Код:
enum

{

map1,
map2,
map3

}
U know new map = new spawnpoints and new create object ect.


Re: enum change - Kaylux - 10.12.2010

It's possible.

I would make it via an enum and create a timer to call a function that creates objects and sets spawn points or just a command.


Re: enum change - BlackWolf120 - 10.12.2010

hi, thx for ur answer.

put everything into one filterscript?
and how to define what spawnpoints belong to what map, with if?
then i had to write my CreatedObjects under a if function too?