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

Carbot-Buttler - [v.0.1]

Theres a lot of Server with Godfather and any Godfatherserver got the same Problem...
Nobody wantґs to be a Busdriver . Why ?

Quote:

- Low Money
- Everyone shots at ur tires (Thatґs rll Shit)
- Busses are so sloooooow
- Busdriver getґs frustrated and start to kill Police Officers

So thatґs the ultimate Answer to all this suckers.

What does it do ?

#include <jmove>
©Copyright 2009, Jason Gregory
3 Speedoptions - Slow [< 25Mph], Normal [>= 50Mph], Fast [> 75Mph][/b]
U can make ur own Route Ingame with /Botmark
U can enter the Car/Vehicle as Driver/Passenger
U can start the Vehicle with /Startbotcar
U can stop the Vehicle with /Stopbotcar
U can change the Height, X-Coord, Y-Coord, X-Coord of the Vehicle with MoveVehicleX, MoveVehicleY, MoveVehicleZ
Compatible with any Vehicle, Planes, Boats, Bikes, Motorbike
Userful for Busses or Planes

Natives:

Код:
native xMoveVehicle(carid);
native yMoveVehicle(carid);
native zMoveVehicle(carid);
native MoveVehicle(carid);
Link for the Include:



And No i dont want to be Mirrored


Add this to ur Gamemode

Код:
   /*Under OnPlayerCommandText*/

   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;
	}
This Mark is the Position where the Bot goes, so dont place the Mark behind Buildings!
TeleportDestveh is allready definied in the Include.


What i need to to next ?

Код:
/*U need to 'Start' the Bot so put this OnPlayerCommandText too. Itґs just a simple Timer */

forward Autostop();

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 
	}
For Acceleration

Код:
/*U need to 'Start' the Bot so put this OnPlayerCommandText too. Itґs just a simple Timer */

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;
	}
Bugs

Код:
- Other Players !canґt see the Vehicle moving because Sa-mp is not syncrom
- MoveVehicle is bugged idk why but im doing my best, try out MoveVehicleX/Y/Z

If theres any Problem with the Script, post it here. It take a time for me to answer, because im rlly bussy working, but i will do my best.
Reply


Messages In This Thread
[FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by Jason_Gregory - 23.04.2009, 02:23
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by NEW_IE - 23.04.2009, 02:55
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by RenisiL - 23.04.2009, 03:35
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0 - by Dairyll - 23.04.2009, 09:51
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by beggas - 23.04.2009, 11:36
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by Kriztian - 23.04.2009, 14:07
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by miokie - 23.04.2009, 15:00
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by SpiderPork - 23.04.2009, 15:07
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0 - by mysq - 23.04.2009, 15:18
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by kasco - 23.04.2009, 15:30
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by [IB]Scorcher - 23.04.2009, 16:39
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by SureShot - 23.04.2009, 17:33
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by sebihunter - 23.04.2009, 17:40
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0 - by Dairyll - 23.04.2009, 17:51
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by Redirect Left - 23.04.2009, 17:52
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by ChristanBlack - 23.04.2009, 20:55
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by Jason_Gregory - 23.04.2009, 21:14
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by Jason_Gregory - 23.04.2009, 21:18
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by ChristanBlack - 23.04.2009, 21:40
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by DMSOrg - 23.04.2009, 22:19
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by Jason_Gregory - 23.04.2009, 23:25
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by ryan kirky - 24.04.2009, 00:13
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by [IB]Scorcher - 24.04.2009, 07:00
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by s0brus - 24.04.2009, 13:50
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by ChristanBlack - 24.04.2009, 16:35
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by hk_shade - 25.04.2009, 07:24
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by El_Piloto - 09.05.2009, 22:58
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by GiP_YossI - 17.08.2009, 20:15
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by Showman - 02.09.2009, 12:01
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by Janek17 - 13.10.2010, 15:17
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by Haji - 13.10.2010, 19:21
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by jameskmonger - 13.10.2010, 19:26
Re: [FS/INC] Carbot - Tired of driving Busses or Cars ? Get your Carbot now [v.0.1] - by nicoud - 13.10.2010, 20:45

Forum Jump:


Users browsing this thread: 1 Guest(s)