SA-MP Dedicated Server ---------------------- v0.3z, ©2005-2014 SA-MP Team [01:17:47] [01:17:47] Server Plugins [01:17:47] -------------- [01:17:47] Loaded 0 plugins. [01:17:47] [01:17:47] Filterscripts [01:17:47] --------------- [01:17:47] Loading filterscript 'adm.amx'... [01:17:47] -------------------------------------- [01:17:47] ADMIN MENU [01:17:47] -------------------------------------- [01:17:47] Loaded 1 filterscripts.
echo Executing Server Config... lanmode 0 rcon_password 123456789 maxplayers 50 port 7777 hostname House Role Play gamemode0 rol filterscripts adm announce 0 query 1 chatlogging 0 weburl www.sa-mp.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S]
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" ADMIN MENU");
print("--------------------------------------\n");
CreateMenu("Admincp",1,20,120,150,40);
AddMenuItem(Admincp,0,"vehicles");
AddMenuItem(Admincp,0,"tp");
AddMenuItem(Admincp,0,"skins");
CreateMenu("Vehicles",1,20,120,150,40);
AddMenuItem(Vehicles,0,"NRG");
AddMenuItem(Vehicles,0,"jetpack");
AddMenuItem(Vehicles,0,"hydra");
AddMenuItem(Vehicles,0,"hunter");
CreateMenu("Teleport",1,20,120,150,40);
AddMenuItem(Teleport,0,"LSPD");
AddMenuItem(Teleport,0,"LSCH");
CreateMenu("Skin",1,20,120,150,40);
AddMenuItem(Skin,0,"LSPD");
AddMenuItem(Skin,0,"ARMY");
AddMenuItem(Skin,0,"SWAT");
return 1;
}
echo Executing Server Config... lanmode 0 rcon_password 123456789 maxplayers 50 port 7777 hostname House Role Play gamemode0 rol 1 filterscripts adm announce 0 query 1 chatlogging 0 weburl www.sa-mp.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S]
gamemode0 rol 1
Код:
echo Executing Server Config... lanmode 0 rcon_password 123456789 maxplayers 50 port 7777 hostname House Role Play gamemode0 rol 1 filterscripts adm announce 0 query 1 chatlogging 0 weburl www.sa-mp.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S] When you add your gamemode in the server.cfg it must be like this Код:
gamemode0 rol 1 |