How to change Hostname in pawno
#3

Or if you want to make it on a command :

OnPlayerCommandText:

Код HTML:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
	if(!strcmp(cmdtext[16], "/server_configs", true))
	{
                if(!IsPlayerAdmin(playerid)) return 1;

	        SendRconCommand("mapname Los Santos");
		SendRconCommand("gamemodetext AG:RP INDO");
		SendRconCommand("language INDONESIA");
		
		return 1;
	}
	
	return 0;
}
ZCMD

Код HTML:
#include <a_samp>
#include <zcmd>

CMD:server_configs(playerid, params[])
{
	if(!IsPlayerAdmin(playerid)) return 1;
	
        SendRconCommand("mapname Los Santos");
	SendRconCommand("gamemodetext AG:RP INDO");
	SendRconCommand("language INDONESIA");
	
	return 1;
}
Reply


Messages In This Thread
How to change Hostname in pawno - by VipperGamming - 20.08.2015, 15:33
Re: How to change Hostname in pawno - by Abagail - 20.08.2015, 15:34
Re: How to change Hostname in pawno - by Mariciuc223 - 20.08.2015, 15:44

Forum Jump:


Users browsing this thread: 1 Guest(s)