Commands Not Responding!
#8

Here's the Code. I havent shown my CreateObject e.t.c lines

Code:
#include <a_samp>

#pragma tabsize 0

#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BRIGHTRED 0xFF0000AA
#define C_LBLUE 	0x33CCFFFF
#define red              0xFF0000AA
#define green            0x33FF33AA


#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print("Stunting & Freeroam Gamemode loaded");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print(" M & M Freeroam / Stunting");
	print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("Stunt/Freeroam/Gangs/Housing");
    EnableStuntBonusForAll(0);
    DisableInteriorEnterExits();

return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
GivePlayerMoney(playerid,-500);
GivePlayerMoney(killerid,1000);
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/respawn", cmdtext, true, 10) == 0)
    {SpawnPlayer(playerid);//We will spawn the player now
    }else{
            SendClientMessage(playerid,0xAA3333AA,"Command Not Found! Use /cmds to see a list of commands.");
			return 1;
		}
return 0;
}
Reply


Messages In This Thread
Commands Not Responding! - by Compiler - 02.01.2016, 10:26
Re: Commands Not Responding! - by WingedFrostWolf - 02.01.2016, 10:33
Re: Commands Not Responding! - by lucamsx - 02.01.2016, 11:42
Re: Commands Not Responding! - by RaajParker - 02.01.2016, 11:49
Re: Commands Not Responding! - by Mic_H - 02.01.2016, 12:49
Re: Commands Not Responding! - by saffierr - 02.01.2016, 13:03
Re: Commands Not Responding! - by Joron - 02.01.2016, 13:10
Re: Commands Not Responding! - by Compiler - 02.01.2016, 13:17
Re: Commands Not Responding! - by Jhayz - 02.01.2016, 13:28
Re: Commands Not Responding! - by Compiler - 02.01.2016, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)