[VC:MP] Basic GTA VC Cheats

Started by Alecu Madalin, Jul 29, 2019, 12:02 PM

Previous topic - Next topic

Alecu Madalin

Basic

function onPlayerCommand( player, cmd, text )

{
if (cmd == "playercheat") {
    Message("[#F96714]/aspirine, /preciousprotection, /icanttakeitanymore, /youwonttakemealive, /leavemealone");
}

else if (cmd == "aspirine") {
    player.Health = 250;
    Announce("Health cheat", player, 0);
}

else if (cmd == "preciousprotection") {
player.Armour = 250;
Announce("Armour cheat", player, 0);
}

else if (cmd == "icanttakeitanymore") {
    player.Health = 0;
    Announce("Cheat activated", player, 0);
}

else if (cmd == "youwonttakemealive") {
player.SetWantedLevel(6);
Announce("Wanted level cheat", player, 0);
}

else if (cmd == "leavemealone") {
player.SetWantedLevel(0);
Announce("Wanted level cheat", player, 0);
}

else {
   Message("[#BD3D3A][ERROR] [#E47A2E]Wrong Command")
}

}


Commands: /aspirine, /preciousprotection, /icanttakeitanymore, /youwonttakemealive, /leavemealone


Skins

function onPlayerCommand( player, cmd, text )

{
if (cmd == "skincheat") {
Message("[#F96714]/cheatshavebeencracked (107), /looklikelance (121), /mysonisalawyer (188), /looklikehilary (111), /rockandrollman (112), /weloveourdick (118), /onearmedbandit (113), /idonthavethemoneysonny (115), /foxylittlething (117)")
}

else if (cmd == "cheatshavebeencracked") {
player.Skin = 107;
}

else if (cmd == "looklikelance") {
    player.Skin = 121;
}

else if (cmd == "mysonisalawyer") {
    player.Skin = 188;
}

else if (cmd == "looklikehilary") {
    player.Skin = 111;
}

else if (cmd == "rockandrollman") {
   player.Skin = 112;
}

else if (cmd == "weloveourdick") {
    player.Skin = 118;
}

else if (cmd == "onearmedbandit") {
    player.Skin = 113;
}

else if (cmd == "idonthavemoneysonny") {
    player.Skin = 115;
}

else if (cmd == "foxylittlething") {
    player.Skin = 117;
}

else {
Message("[#BD3D3A][ERROR] [#E47A2E]Wrong Command")
}
}

Skin Commands + IDs: /cheatshavebeencracked (107), /looklikelance (121), /mysonisalawyer (188), /looklikehilary (111), /rockandrollman (112), /weloveourdick (118), /onearmedbandit (113), /idonthavethemoneysonny (115), /foxylittlething (117)

Weapons

function onPlayerCommand( player, cmd, text )
{
if (cmd == "weaponcheat") {
    Message("[#F96714]/thugstools, /professionaltools, /nuttertools")

else if (cmd == "nuttertools")
{
player.SetWeapon( 11, 9999 );
          player.SetWeapon( 12, 9999 );
          player.SetWeapon( 18, 9999 );
          player.SetWeapon( 20, 9999 );
          player.SetWeapon( 25, 9999 );
          player.SetWeapon( 26, 9999 );
          player.SetWeapon( 33, 9999 );
          player.SetWeapon( 29, 9999 );
          Announce("Weapon cheat", player, 0);
}

else if (cmd == "professionaltools")
{
player.SetWeapon(10, 9999);
player.SetWeapon(13, 9999);
player.SetWeapon(18, 9999);
player.SetWeapon(21, 9999);
player.SetWeapon(24, 9999);
player.SetWeapon(30, 9999);
player.SetWeapon(29, 9999);
Announce("Weapon cheat", player, 0);
}

else if (cmd == "thugstools") {
    player.SetWeapon(1, 1);
    player.SetWeapon(6, 1);
    player.SetWeapon(15, 9999);
    player.SetWeapon(17, 9999);
    player.SetWeapon(19, 9999);
    player.SetWeapon(23, 9999);
    player.SetWeapon(27, 9999);
    player.SetWeapon(31, 9999);
    player.SetWeapon(28, 9999)
    Announce("Weapon cheat", player, 0);
}

else {
    Message("[#BD3D3A][ERROR] [#E47A2E]Wrong Command")
}
}

Weapon Commands: /thugstools, /professionaltools, /nuttertools

Time

function onPlayerCommand( player, cmd, text )
{
if (cmd == "timecheat") {
    Message("[#F96714]/onspeed, /booooooring, /restart")
}

else if (cmd == "onspeed") {
    SetGamespeed(1000);
    Announce("Cheat activated", player, 0);
}

else if (cmd == "restart") {
    SetGamespeed(1);
    Announce("Speed Restarted", player, 0);
}

else if (cmd == "booooooring") {
    SetGamespeed(0.40);
    Announce("Cheat activated", player, 0);
}

else {
Message("[#BD3D3A][ERROR] [#E47A2E]Wrong Command")
}

}

Time Commands: /onspeed, /booooooring, /restart

Weather

function onPlayerCommand( player, cmd, text )
{
if (cmd == "weathercheat") {
    Message("[#F96714]/alovelyday, /apleasantday, /abitdrieg, /cantseeathing, /catsanddogs")
}

else if (cmd == "alovelyday") {
    SetWeather(4);
    Announce("Weather cheat", player, 0);
}

else if (cmd == "apleasantday") {
SetWeather(1);
Announce("Weather cheat", player, 0);
}

else if (cmd == "abitdrieg") {
    SetWeather(7);
    Announce("Weather cheat", player, 0);
}

else if (cmd == "cantseeathing") {
    SetWeather(3);
    Announce("Weather cheat", player, 0);
}

else if (cmd == "catsanddogs") {
    SetWeather(2);
    Announce("Weather cheat", player, 0);
}

else {
Message("[#BD3D3A][ERROR] [#E47A2E]Wrong Command")
}
}

Weather Commands: /alovelyday, /apleasantday, /abitdrieg, /cantseeathing, /catsanddogs

Download

http://www.mediafire.com/file/xt2uoddiqkbntij/scripts.rar/file

All in one cheat script

http://www.mediafire.com/file/x86c86xebjoxqp7/main.nut/file

MatheuS

Very basic, but keep improving.

I'll make you a challenge, create the same commands using keys without using "/ command". I think you can do it, good luck. ::)
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

Alecu Madalin

Helping Commands: /playercheat, /skincheat, /weaponcheat, /timecheat, /weathercheat,

KrOoB_


Alecu Madalin

Quote from: MatheuS on Jul 29, 2019, 12:09 PMVery basic, but keep improving.

I'll make you a challenge, create the same commands using keys without using "/ command". I think you can do it, good luck. ::)

function onScriptLoad()
{
    VK_NUMPAD1 <- BindKey(true, 0x61, 0, 0); //Help
    VK_NUMPAD2 <- BindKey(true, 0x62, 0, 0); //Aspirine
    VK_NUMPAD3 <- BindKey(true, 0x63, 0, 0); //Preciousprotection
    VK_NUMPAD4 <- BindKey(true, 0x64, 0, 0); //icanttakeitanymore
    VK_NUMPAD5 <- BindKey(true, 0x65, 0, 0); //youwonttakemealive
    VK_NUMPAD6 <- BindKey(true, 0x66, 0, 0); //leavemealone
    //MAKE SURE YOU HAVE NUMLOCK KEY ENABLED
}

function onKeyDown( player, key )
{
if (key == VK_NUMPAD1) {
Message("help (num1) aspirine (num2), preciousprotection (num3), icanttakeitanymore (num4), youwonttakemealive (num5), leavemealone (num6)...")
}

if (key == VK_NUMPAD2) {
player.Health = 250;
Announce("Health cheat", player, 0);
}

if (key == VK_NUMPAD3) {
player.Armour = 250;
Announce("Armour cheat", player, 0);
}

if (key == VK_NUMPAD4) {
    player.Health = 0;
    Announce("Cheat activated", player, 0)
}

if (key == VK_NUMPAD5) {
    player.SetWantedLevel(6);
    Announce("Wanted level cheat", player, 0)
}

if (key == VK_NUMPAD6) {
   player.SetWantedLevel(0);
   Announce("Wanted level cheat", player, 0)

}
}

/aspirine, /preciousprotection, /icanttakeitanymore, /youwonttakemealive, /leavemealone but instead of / i used numeric keys

Rardodus Bruise


Sebastian

Idk why, but this snippet made me smile, in the good way. :)


KrOoB_

Quote from: Sebastian on Jul 29, 2019, 11:06 PMIdk why, but this snippet made me smile, in the good way. :)

Because fresh meattt :-X :-X ;D

NicusorN5

Quote from: MatheuS on Jul 29, 2019, 12:09 PMVery basic, but keep improving.

I'll make you a challenge, create the same commands using keys without using "/ command". I think you can do it, good luck. ::)
He can also use the onPlayerChat() and parse the text using GetTok() . Easy task.

=RK=MarineForce

OnPlayerChat
{
if(text == "nuttertools")
player.SetWeapon(26,9999)
Message("Nice to see you");
}

MatheuS

Quote from: Athanatos on Aug 01, 2019, 07:31 PM
Quote from: MatheuS on Jul 29, 2019, 12:09 PMVery basic, but keep improving.

I'll make you a challenge, create the same commands using keys without using "/ command". I think you can do it, good luck. ::)
He can also use the onPlayerChat() and parse the text using GetTok() . Easy task.

Good idea ::)
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.