CAR Commands!
#1

//============== Introduction =============\\
Now you can tune your car wherever you want for money! Basically what is there to be said in the introduction?

//============== Commands ==============\\
/car (to view all tune commands), /help (For Help On Them) (You can change these)

//============== Who Do I Have To Thank You? =============\\
xD
anyways,
1. DorkAZoid / Ali (Me)

//============== Download ===============\\
download the Source Here

HOPING YOU GUYS LIKE IT!
Reply
#2

[23:57:19] AmxLoad
[23:57:19] Loading filter script 'CarCommands.amx'...
[23:57:19] Unable to load filter script 'CarCommands.amx'.
[23:57:19] Loaded 2 filter scripts.

EDIT:
compiled and
C:\Users\Family\Desktop\samp02Xserver.win32\filter scripts\509_CarCommands.pwn(2) : fatal error 100: cannot read from file: "dini"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#3

Quote:
Originally Posted by rico760
[23:57:19] AmxLoad
[23:57:19] Loading filter script 'CarCommands.amx'...
[23:57:19] Unable to load filter script 'CarCommands.amx'.
[23:57:19] Loaded 2 filter scripts.

EDIT:
compiled and
C:\Users\Family\Desktop\samp02Xserver.win32\filter scripts\509_CarCommands.pwn(2) : fatal error 100: cannot read from file: "dini"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Download dini.inc(search), and add it to your includes folder.

EDIT: Oh wow, another simple copy and paste, Dude release something that YOU made yourself.
Reply
#4

C:\Users\Family\Desktop\samp02Xserver.win32\filter scripts\509_CarCommands.pwn(3) : fatal error 100: cannot read from file: "dudb"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Download dudb?
Reply
#5

I don't even know why all that is included, http://pastebin.com/m6363918c
Reply
#6

Is that your version?
Reply
#7

Quote:
Originally Posted by Fatal
Quote:
Originally Posted by rico760
[23:57:19] AmxLoad
[23:57:19] Loading filter script 'CarCommands.amx'...
[23:57:19] Unable to load filter script 'CarCommands.amx'.
[23:57:19] Loaded 2 filter scripts.

EDIT:
compiled and
C:\Users\Family\Desktop\samp02Xserver.win32\filter scripts\509_CarCommands.pwn(2) : fatal error 100: cannot read from file: "dini"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Download dini.inc(search), and add it to your includes folder.

EDIT: Oh wow, another simple copy and paste, Dude release something that YOU made yourself.
I DIDNT COPY PASTE I MADE THIS MYSELF SWEAR BY GOD PROMISE! i will report you to the mods now
Reply
#8

Wish i could use it but onne of my includes are fked up
Reply
#9

Quote:
Originally Posted by ..::DorkAZoid::..
Quote:
Originally Posted by Fatal
Quote:
Originally Posted by rico760
[23:57:19] AmxLoad
[23:57:19] Loading filter script 'CarCommands.amx'...
[23:57:19] Unable to load filter script 'CarCommands.amx'.
[23:57:19] Loaded 2 filter scripts.

EDIT:
compiled and
C:\Users\Family\Desktop\samp02Xserver.win32\filter scripts\509_CarCommands.pwn(2) : fatal error 100: cannot read from file: "dini"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Download dini.inc(search), and add it to your includes folder.

EDIT: Oh wow, another simple copy and paste, Dude release something that YOU made yourself.
I DIDNT COPY PASTE I MADE THIS MYSELF SWEAR BY GOD PROMISE! i will report you to the mods now
Alright well, let's see.. Let's compare your script and the one you copied from (SaS by Rafay)

Yours:
pawn Код:
if(strcmp(cmdtext,"/car",true)==0)
    {
        SendClientMessage(playerid, 0xFF9933AA, "Vehicle Commands:");
        SendClientMessage(playerid, 0xFFFFFFAA, "__________________");
        SendClientMessage(playerid, 0x00BFFFAA, "/offroad /shadow /twist /ahab /mega /rimshine /wires /classic /(un)lock");
        SendClientMessage(playerid, 0xFFFFFFAA, "/import/grove /switch /cutter /dollar /trance /atomic /virtual /access");
        SendClientMessage(playerid, 0xFFFFFFAA, "__________________");
        return 1;
    }
   
    if(strcmp(cmdtext,"/help",true)==0)
    {
        SendClientMessage(playerid, 0xFFFFFFAA, "FILTERSCRIPT Has Been Made By DorkAZoid");
        return 1;
    }
   
    if (strcmp("/AFK", cmdtext, true, 10) == 0)
    {
    new pName[MAX_PLAYER_NAME];
  new string[48];
  GetPlayerName(playerid, pName, sizeof(pName));
  format(string, sizeof(string), "%s is away from keyboard", pName);
  SendClientMessageToAll(0xFF9900AA, string);
    return 1;
    }

    if (strcmp("/BACK", cmdtext, true, 10) == 0)
    {
    new pName[MAX_PLAYER_NAME];
  new string[48];
  GetPlayerName(playerid, pName, sizeof(pName));
  format(string, sizeof(string), "%s is back", pName);
  SendClientMessageToAll(0xFF9900AA, string);
    return 1;
    }

    if (strcmp("/lock", cmdtext, true, 10) == 0)
    {
        if (GetPlayerState(playerid) == 2)
        {
            for(new i = 0; i < MAX_PLAYERS; i++)
            {
            if (i != playerid) SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 1);
            }
            PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, COLOR_YELLOW, "Vehicle Locked.");
        }
        else
        {
        SendClientMessage(playerid, COLOR_RED, "You are not driving a vehicle.");
        }
        return 1;
    }

    if (strcmp("/unlock", cmdtext, true, 10) == 0)
    {
        if (GetPlayerState(playerid) == 2)
        {
            for(new i = 0; i < MAX_PLAYERS; i++)
            {
            if (i != playerid) SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 0);
            }
            PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, COLOR_YELLOW, "Vehicle Unlocked.");
        }
        else
        {
        SendClientMessage(playerid, COLOR_RED, "You are not driving a vehicle.");
        }
        return 1;
    }

    if(strcmp(cmdtext, "/hydra", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1087);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}

    if (strcmp(cmdtext, "/para", true)==0)
    {
        GivePlayerWeapon(playerid, 46, 1);
        return 1;
    }

    if(strcmp(cmdtext, "/offroad", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1025);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/shadow", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1073);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/mega", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1074);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/rimshine", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1075);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/wires", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1076);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/classic", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1077);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/twist", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1078);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/cutter", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1079);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/switch", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1080);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/grove", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1081);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/import", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1082);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/dollar", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1083);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/trance", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1084);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/atomic", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1085);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/ahab", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1096);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/virtual", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1097);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/access", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1098);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
The one you copied from:
pawn Код:
if(strcmp(cmdtext,"/wheels",true)==0)
    {
        SendClientMessage(playerid, 0xFF9933AA, "Tunning Wheels:");
        SendClientMessage(playerid, 0xFFFFFFAA, "__________________");
        SendClientMessage(playerid, 0x00BFFFAA, "/offroad /shadow /twist /ahab /mega /rimshine /wires /classic");
        SendClientMessage(playerid, 0xFFFFFFAA, "/import/grove /switch /cutter /dollar /trance /atomic /virtual /access");
        SendClientMessage(playerid, 0xFFFFFFAA, "__________________");
        return 1;
    }
    if(strcmp(cmdtext, "/hydra", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1087);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/offroad", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1025);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/shadow", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1073);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/mega", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1074);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/rimshine", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1075);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/wires", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1076);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/classic", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1077);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/twist", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1078);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/cutter", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1079);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/switch", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1080);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/grove", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1081);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/import", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1082);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/dollar", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1083);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/trance", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1084);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/atomic", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1085);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/ahab", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1096);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/virtual", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1097);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if(strcmp(cmdtext, "/access", true) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    AddVehicleComponent(vehicleid, 1098);
    }else{
    SendClientMessage(playerid,COLOR_RED,"You are not in a vehicle!!");
    }
    return 1;
}
    if (strcmp(cmd, "/afk", true) == 0)
    {
        if(afk[playerid] == 1) return SendClientMessage(playerid, 0xAA3333AA, "You are already Away From Keyboard ");
      else
      {
        afk[playerid] = 1;
        SetPlayerColor(playerid,AFK);
            TogglePlayerControllable(playerid,0);
            new string[256];
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(string, sizeof(string), "-> %s is now Away From Keyboard!", pName);
            SendClientMessageToAll(0xFFFF00AA, string);
            SendClientMessage(playerid, 0x33AA33AA, "Type /back when you are back to the keyboard!");
        }
        return 1;
    }

    if (strcmp(cmd, "/back", true) == 0)
    {
        if(afk[playerid] ==0) return SendClientMessage(playerid, 0xAA3333AA, "You are not Away From Keyboard!");
      else
      {
        afk[playerid] = 0;
        TogglePlayerControllable(playerid,1);
        new string[256];
            new pName[MAX_PLAYER_NAME];
            GetPlayerName(playerid, pName, sizeof(pName));
            format(string, sizeof(string), "-> %s is now back!", pName);
            SendClientMessageToAll(0xFFFF00AA, string);
        }
        return 1;
    }

Reply
#10

Im using this aswell
Reply
#11

good
Reply
#12

Really sucks, you spammed it with commands instead of using one command etc,

/tune atomic..
Reply
#13

Okay lets play mindgames.
Tell me from which script did i steal that? (even if i did) (but i did not!)
Tell
Reply
#14

If you look at his post it's clear who he thinks you stole it from..
Reply
#15

car commands are always the same if someone makes a new filterscript and does all that stuff without copying and just add a few sendclientmessages doesnt mean that it is a stolen script. All car commands are the same no matter how much you try to change em.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)