Public ------> Rcon admins only.
#6

Quote:
Originally Posted by shady001
Посмотреть сообщение
Код:
#include <a_samp>
#include <fly>

public OnFilterScriptInit()
{
	print("=========================================\n");
	print("SuperMan for SuperNatural People GM");
	print(" ");
	print("=========================================\n");
	return 1;
}
public OnPlayerConnect(playerid)
{
	InitFly(playerid);
	return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp(cmdtext,"/fly",true) == 0)
	{
               if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_WHITE,"You need to be an admin to use this!");
	    StartFly(playerid);
	    return 1;
	}
	if(strcmp(cmdtext,"/stopfly",true) == 0)
	{
	    StopFly(playerid);
	    return 1;
	}
	return 0;
}
EDIT : Too late :P
What you mean?
Reply


Messages In This Thread
Public ------> Rcon admins only. - by AwesomeBi3cute - 31.03.2013, 18:24
Re: Public ------> Rcon admins only. - by SilverKiller - 31.03.2013, 18:31
Re: Public ------> Rcon admins only. - by shady001 - 31.03.2013, 18:32
Re: Public ------> Rcon admins only. - by AwesomeBi3cute - 31.03.2013, 18:41
Re: Public ------> Rcon admins only. - by SilverKiller - 31.03.2013, 18:41
Re: Public ------> Rcon admins only. - by AwesomeBi3cute - 31.03.2013, 18:43
Re: Public ------> Rcon admins only. - by AwesomeBi3cute - 31.03.2013, 18:45
Re: Public ------> Rcon admins only. - by shady001 - 31.03.2013, 18:46
Re: Public ------> Rcon admins only. - by AwesomeBi3cute - 31.03.2013, 18:48
Re: Public ------> Rcon admins only. - by AwesomeBi3cute - 31.03.2013, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)