[FilterScript] Taxi Job
#1

TAXI JOB


Taxi Job is a filterscript designed to do taxi fares. The player has to collect actors around the city of Las Venturas and then transport them to another city. When typing /taxi and then pressing Y to collect a fare, there will be a random coordinates picked from the array. This is the same when you collect the passenger so there can be a random destination to transport the passenger to, to compelte your fare. The coordinates are yours to change.

{1958.3783, 1343.1572, 15.3746}
.....^x........^y.........^z


VIDEO



COMMANDS/MACROS
/taxi
Toggles taxi driver status (on duty true/false)
/taxistats
Displays player\'s taxi statistics, total amount earnt, total customers and total unhappy customers
Y
Finds a fare for the taxi driver
H
When taxi driver is near their client, it will notify the actor (client) that they are there.

FILE
https://pastebin.com/STdbbX3A - [FS] Taxi Job


INSTRUCTIONS
  1. Click the pastebin like above
  2. Find the link named \'raw\', click that.
  3. Press ctrl+s and name the file taxijob.pwn
  4. Drag taxijob.pwn to /filterscripts/ folder in your SA-MP server dictionary
  5. Using your pawn editor, compile the script taxijob.pwn by pressing F5 or the (compile) run button.
  6. Edit server.cfg, on the filterscripts line add \'taxijob\' to the list
  7. Start your SA-MP server and everything should work
Reply
#2

Nice man,i really love it,good job,keep it up <3
Reply
#3

Good job man Keep releasing <3
Reply
#4

Thank you, and sorry for the video - dailymotion sucked the life out of the quality of the video. Too bad we can\'t use Youtu𝚋e
Reply
#5

Yea but everything is explained Thank you very much man +rep for you!
PS: can i pm you? i need you in something
Reply
#6

nice, keep it up
Reply
#7

Nice filterscript bro, keep going like this!
Reply
#8

Great fs
Reply
#9

vнdeo?
Reply
#10

Video Not Working Can You Post ScreenShots?
Reply
#11

PHP Code:
IsPlayerInTaxi(playerid)
{
    if(!
IsPlayerInAnyVehicle(playerid)) return false;
    if(
GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) return false;
    if(
GetVehicleModel(GetPlayerVehicleID(playerid)) == 420 || 438 && GetPlayerVehicleSeat(playerid) == 0) return true;
    return 
true;

This is just wrong, if a player is driving a vehicle that isn\'t a taxi it will return true; because you set it to. it could\'ve been much more simple:
PHP Code:
IsPlayerInTaxi(playerid)
{
    return (
GetVehicleModel(GetPlayerVehicleID(playerid)) == 420 || 438 && GetPlayerVehicleSeat(playerid) == 0)

It has many random snippets which i can\'t comprehend fully anyways so yeah.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)