[FilterScript] [FS]Single Player Cheats
#1

Hello to SAMP Players, I am here to post my new FilterScript,This is filterscript that you can cheat the code like in offline GTA by adding "/" like "/uzumymw

Requirements?:
You just need to install a_samp.inc

I only added like 38 cheats on offline cause the other hack is too hard

Код:
HESOYAM = Health, Armor, $250k
LXGIWYL = Weapon Set 1, Thug's Tools
KJKSZPJ = Weapon Set 2, Professional Tools
UZUMYMW = Weapon Set 3, Nutter Tools
OSRBLHH = Increase Wanted Level Two Stars
ASNAEB = Clear Wanted Level
Thats all i can put,Sorry because i can't put all commands cause im bored, Just check the script below
Код:
#include <a_samp>
#define FILTERSCRIPT
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n----------------------------------------");
	print("Single-Player Cheats");
	print("By LarryTiger");
	print("------------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------------");
	print("Single-Player Cheats");
	print("By LarryTiger");
	print("------------------------------------------\n");
}

#endif

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/HESOYAM", cmdtext, true, 10) == 0)
	{
	GivePlayerMoney(playerid,250000);
	SetPlayerHealth(playerid,100.0);
	SetPlayerArmour(playerid,100.0);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}
	
	if (strcmp("/LXGIWYL", cmdtext, true, 10) == 0)
	{
	GivePlayerWeapon(playerid, 1, 0);
	GivePlayerWeapon(playerid, 5, 0);
	GivePlayerWeapon(playerid, 22, 250);
	GivePlayerWeapon(playerid, 25, 50);
	GivePlayerWeapon(playerid, 32, 400);
	GivePlayerWeapon(playerid, 30, 400);
	GivePlayerWeapon(playerid, 33, 50);
	GivePlayerWeapon(playerid, 35, 50);
	GivePlayerWeapon(playerid, 18, 30);
	GivePlayerWeapon(playerid, 41, 500);
	SetPlayerVirtualWorld(playerid, 1);
	SendClientMessage(playerid,0xF6F6F6AA,"Welcome to the Cheaters World");
	return 1;
	}
	
	if (strcmp("/KJKSZPJ", cmdtext, true, 10) == 0)
	{
	GivePlayerWeapon(playerid, 4, 0);
	GivePlayerWeapon(playerid, 24, 250);
	GivePlayerWeapon(playerid, 26, 50);
	GivePlayerWeapon(playerid, 29, 400);
	GivePlayerWeapon(playerid, 31, 400);
	GivePlayerWeapon(playerid, 34, 50);
	GivePlayerWeapon(playerid, 37, 50);
	GivePlayerWeapon(playerid, 16, 30);
	GivePlayerWeapon(playerid, 42, 500);
	SetPlayerVirtualWorld(playerid, 1);
	SendClientMessage(playerid,0xF6F6F6AA,"Welcome to the Cheaters World");
	return 1;
	}

	if (strcmp("/UZUMYMW", cmdtext, true, 10) == 0)
	{
	GivePlayerWeapon(playerid, 9, 0);
	GivePlayerWeapon(playerid, 23, 250);
	GivePlayerWeapon(playerid, 27, 50);
	GivePlayerWeapon(playerid, 28, 400);
	GivePlayerWeapon(playerid, 31, 400);
	GivePlayerWeapon(playerid, 34, 50);
	GivePlayerWeapon(playerid, 36, 30);
	SetPlayerVirtualWorld(playerid, 1);
	SendClientMessage(playerid,0xF6F6F6AA,"Welcome to the Cheaters World");
	return 1;
	}

	if (strcmp("/OSRBLHH", cmdtext, true, 10) == 0)
	{
	SetPlayerWantedLevel(playerid, 2);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/ASNAEB", cmdtext, true, 10) == 0)
	{
	SetPlayerWantedLevel(playerid, 0);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/AFZLLQLL", cmdtext, true, 10) == 0)
	{
	SetPlayerWeather(playerid, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/ICIKPYH", cmdtext, true, 10) == 0)
	{
	SetPlayerWeather(playerid, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/ALNSFMZO", cmdtext, true, 10) == 0)
	{
	SetPlayerWeather(playerid, 8);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/AUIFRVQS", cmdtext, true, 10) == 0)
	{
	SetPlayerWeather(playerid, 43);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/CFVFGMJ", cmdtext, true, 10) == 0)
	{
	SetPlayerWeather(playerid, 9);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/AIWPRTON", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(432,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	SetPlayerVirtualWorld(playerid, 1);
	SendClientMessage(playerid,0xF6F6F6AA,"Welcome to the Cheaters World");
	return 1;
	}

	if (strcmp("/CQZIJMB", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(504,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/JQNTDMH", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(489,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/PDNEJOH", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(502,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/VPJTQWV", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(503,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}
	
	if (strcmp("/AQTBCODX", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(442,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/KRIJEBR", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(409,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/UBHYZHQ", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(408,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/RZHSUEW", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(457,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/SZCMAWO", cmdtext, true, 10) == 0)
	{
	SetPlayerHealth(playerid, 0.0);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/ASBHGRB", cmdtext, true, 10) == 0)
	{
	SetPlayerSkin(playerid, 84);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}
	if (strcmp("/AFPHULTL", cmdtext, true, 10) == 0)
	{
	SetPlayerSkin(playerid, 203);
	GivePlayerWeapon(playerid, 8, 0);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/JUMPJET", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(520,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	SetPlayerVirtualWorld(playerid, 1);
	SendClientMessage(playerid,0xF6F6F6AA,"Welcome to the Cheaters World");
	return 1;
	}

	if (strcmp("/KGGGDKP", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(539,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/COXEFGU", cmdtext, true, 10) == 0)
	{
    new vehicleid = GetPlayerVehicleID(playerid);
 	new State = GetPlayerState(playerid);
  	if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
  	{
    return AddVehicleComponent(vehicleid,1010);
  	}
  	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/OFVIAC", cmdtext, true, 10) == 0)
	{
	SetPlayerTime(playerid,21,0);
	SetPlayerWeather(playerid,40);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/MGHXYRM", cmdtext, true, 10) == 0)
	{
 	SetPlayerWeather(playerid,8);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}
	if (strcmp("/CWJXUOC", cmdtext, true, 10) == 0)
	{
	SetPlayerWeather(playerid, 19);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/AIYPWZQP", cmdtext, true, 10) == 0)
	{
	GivePlayerWeapon(playerid, 46, 0);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/YECGAA", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid,X,Y,Z);
	CreatePickup(370,2,X,Y,Z);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/LJSPQK", cmdtext, true, 10) == 0)
	{
	SetPlayerWantedLevel(playerid, 6);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/ALLCARSGOBOOM", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid,X,Y,Z);
	CreateExplosion(X, Y, Z, 11, 10);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/OHDUDE", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(425,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	SetPlayerVirtualWorld(playerid, 1);
	SendClientMessage(playerid,0xF6F6F6AA,"Welcome to the Cheaters World");
	return 1;
	}
	if (strcmp("/AKJJYGLC", cmdtext, true, 10) == 0)
	{
    new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(471,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/AMOMHRER", cmdtext, true, 10) == 0)
	{
	new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(514,X+2,Y,Z, 0, 0, 0, 1);
	CreateVehicle(584,X+2,Y-8,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/EEGCYXT", cmdtext, true, 10) == 0)
	{
    new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(486,X+2,Y,Z, 0, 0, 0, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/URKQSRK", cmdtext, true, 10) == 0)
	{
    new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(513,X+2,Y,Z, 0, 3, 1, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}

	if (strcmp("/AGBDLCID", cmdtext, true, 10) == 0)
	{
    new Float:X,Float:Y,Float:Z;
	GetPlayerPos(playerid, X,Y,Z);
	CreateVehicle(556,X+2,Y,Z, 0, 3, 1, 1);
	GameTextForPlayer(playerid,"~w~Cheat Activated",2000,3);
	return 1;
	}
	return 0;
}

public OnPlayerDeath(playerid, killerid)
{
	SetPlayerVirtualWorld(playerid, 0);
	return 1;
}
Have Fun B:
Reply
#2

nice script +rep
Reply
#3

nice 1
Reply
#4

I'd recommend making it normal text, and not a command so it's more like singleplayer. This can be done using OnPlayerText.
Reply
#5

use zcmd, and btw you just copied the name of the code and what does it do, I mean you can use some things so people can type it without the slash thing by pressing F6
Reply
#6

The first time i played sa-mp i typed cheats xd, brilliant idea
Reply
#7

Theres a lots of this filterscripts.. btw good job.
Reply
#8

Quote:
Originally Posted by DemME
Посмотреть сообщение
use zcmd, and btw you just copied the name of the code and what does it do, I mean you can use some things so people can type it without the slash thing by pressing F6
This is not completely done, im just here to share it to ya', Just wait for update, im currently worknig on it
Reply
#9

nice idea !!
amazing !
Reply
#10

Quote:
Originally Posted by Arastair
Посмотреть сообщение
The first time i played sa-mp i typed cheats xd, brilliant idea
Same, Bruh.
Reply


Forum Jump:


Users browsing this thread: