SA-MP Forums Archive
SendRconCommand("changemode Forest_Combat"); - 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: SendRconCommand("changemode Forest_Combat"); (/showthread.php?tid=197887)



SendRconCommand("changemode Forest_Combat"); - BlackWolf120 - 10.12.2010

hi,
is it possible to use this code without the need to login again after the gamemode has changed?
(everytime the gamemode changes i have to login again and that sucks)


Re: SendRconCommand("changemode Forest_Combat"); - Lynn - 10.12.2010

No, when you are loading a new GM, it is loading it as if it was "restarting" The server.
So it is loading the Login system as-well.


Re: SendRconCommand("changemode Forest_Combat"); - BlackWolf120 - 10.12.2010

another question:

in my filterscript are the spawnpoints done with AddPlayerClass.
So everytime the gamemode=map changes the spawnpoints dont.
But i want to define my skins in the fs and only the spawnpoints in the gamemode
how to do that?


Re: SendRconCommand("changemode Forest_Combat"); - Lynn - 10.12.2010

Don't use a FS to implement Spawnpoints...
Use the GM of your choice, and tell it to use them spawn points.
Then delete them in the FS.


Re: SendRconCommand("changemode Forest_Combat"); - BlackWolf120 - 10.12.2010

thx for ur answer

So do i have to do the AddPlayerclass in every gamemode for every map and remove it from the fs?


Re: SendRconCommand("changemode Forest_Combat"); - Lynn - 10.12.2010

Yes. In every GM you're using, it should contain a
AddPlayerClass.