SA-MP Forums Archive
Need Help With A Command - 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)
+--- Thread: Need Help With A Command (/showthread.php?tid=609238)



Need Help With A Command - CarRamper - 10.06.2016

Код:
if(strcmp(cmdtext, "/changegamemode") == 0) 
     {
         SendRconCommand("changemode nameofgamemodehere");
         return 1;
     }
I Think When i Will put This command under OnPlayerCommandText It Will Change The Gamemode of whole server.I Mean that gamemode of all the people who are playing at that time will get change>if yes tell me a command through which i the gamemode of a particular person can be changed


Re: Need Help With A Command - MBilal - 10.06.2016

You can't use different gamemode for different players.
But you can use different Virtual world for different players.
check that link below to see virtual world info
Link