[FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1]
#21

Quote:
Originally Posted by ChristanBlack
lol i have the same prolem agin....
and i downloded your Include file .....

Code:
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(14) : error 020: invalid symbol name ""
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(30) : error 021: symbol already defined: "xMoveVehicle"
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(33) : error 021: symbol already defined: "GetVehiclePos"
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(35) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(37) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(41) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(44) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(48) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(50) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(53) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(57) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(60) : error 021: symbol already defined: "yMoveVehicle"
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(63) : error 021: symbol already defined: "GetVehiclePos"
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(65) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(67) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(71) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(75) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(81) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(84) : error 021: symbol already defined: "zMoveVehicle"
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(87) : error 021: symbol already defined: "GetVehiclePos"
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(88) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(90) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(94) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(98) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(103) : error 010: invalid function or declaration
C:\Dokumente und Einstellungen\Sebbel\Eigene Dateien\Scripting\pawno\include\jmove.inc(106) : error 021: symbol already defined: "MoveVehicle"

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


26 Errors.
And my FS looks like:
Code:
#include <a_samp>
#include <jmove>

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#if defined FILTERSCRIPT

forward Autostop();

BotCar = AddStaticVehicle(431, X, Y, Z, Z_Angle, 0, 0);

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Carbot by Jason_Gregory umgewandelt in FS von Sebastian Frank");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print(" Carbot by Jason_Gregory umgewandelt in FS von Sebastian Frank");
	print("----------------------------------\n");
}

#endif

public OnPlayerCommandText(playerid, cmdtext&#91;])
{
   if(strcmp(cmd, "/vehmark", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
			if (PlayerIsAdmin)
			{
				GetPlayerPos(playerid, TeleportDestveh[playerid][0],TeleportDestveh[playerid][1],TeleportDestveh[playerid][2]);
				SendClientMessage(playerid, COLOR_GRAD1, " Teleporter Station set, now use /Botstart");
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, " HINT: U must login as Rcon Admin !");
			}
		}
		return 1;
	}
	if(strcmp(cmd,"/Startbotcar",true)==0)
	{
	  if(IsPlayerConnected(playerid))
	  {
     	Autostop = SetTimer("Autostop", 250, 1); //Dont worry it can take 250 ;)
      }
	  return 1;
	}
  if(strcmp(cmd,"/Startbotcar",true)==0)
	{
	  if(IsPlayerConnected(playerid))
	  {
    	KillTimer(Autostop);
      }
 	  return 1;
	}
   public Autostop()
   {
		xMoveVehicle(carid);
        yMoveVehicle(carid);
        zMoveVehicle(carid);
       //or just use MoveVehicle(carid); because itґs all in 1
       MoveVehicle
	}
	if(strcmp(cmd,"/Speed1",true)==0)
	{
	  if(IsPlayerConnected(playerid))
	  {
        KillTimer(Autostop);
     	 Autostop = SetTimer("Autostop", 250, 1); //Dont worry it can take 250 ;)
      }
	  return 1;
	}
  if(strcmp(cmd,"/Speed2",true)==0)
	{
	  if(IsPlayerConnected(playerid))
	  {
    	Autostop = SetTimer("Autostop", 150, 1);
      }
 	  return 1;
	}
    if(strcmp(cmd,"/Speed3",true)==0)
	{
	  if(IsPlayerConnected(playerid))
	  {
        KillTimer(Autostop);
    	 Autostop = SetTimer("Autostop", 50, 1); //If u want it faster just edit it
      }
 	  return 1;
	}

}

No Dude donґt use the Include, redownload it and use the Filterscript called BotFs.
Itґs fully working, but i gonna add some things in the next Version like a automatic Menu for Bus Passenger.
Try it again

Quote:

German - Benutze entweder den FS oder das Include
English - Use the Fs or the Include

In the Moment the Include is bugged so use the FS
Im Moment ist die Include verbuggt, also benutzt den FS

Reply
#22

Needs a lot of work e.g Grammar is terrible.
Reply
#23

This isn't synced, is it? Then it's not good for GF servers if others' cant see the vehicles.
Reply
#24

Jason thatґs not the v.0.1, thatґs just the Beta Version
But the Filterscript work fine 4 me.

Proposal
Quote:

1. Create a Menu, for Buspassenger
2. Make a Video of the new Version
3. Just one Mark ? Make more !

Quote:
Tutorial:

1. Put the Fs in your Server.cfg Filterscript Line
2. Search and find BotCar = AddStaticVehicle(431, X, Y, Z, Z_Angle, 0, 0);
u need to put ur X, Y, Z-Coords init.
3. It can be synced, if use OnPlayerUpdate for the VehicleMovements
4. Go Ingame and /Vehmark ur Position
5. Find your BotCar Vehicle, enter it and /Startbotcar
6. Read everything at /Bothelp


Reply
#25

lol if i add in the fs then can no one logg in
Reply
#26

Great script!It will be easier to take videos if there's no player to be the driver.
Reply
#27

Help! I can not compile it! I need it! ... isculpen. I do not speak English very well. I speak Castilian - Argentina
Reply
#28

i try to do everything you have say...
but when i use the filterscript,every command that i do,no metter if it in the mod or other filterscripts..i get:"bla bla bla..choose language.." and i can't use any other command..:X
Reply
#29

Hi

Please Fix Your FS/INC,

I set your FS in my server and i have problem with Onplayercommand of my server dont work

That show just Text of BotFs
Ty
Reply
#30

Wery cool !!
Reply
#31

kewl, i think i'll use it (:
Reply
#32

Can you explain how to record a route?
Reply
#33

very broken
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)