[FilterScript] Taxi Job - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Taxi Job (
/showthread.php?tid=657758)
Taxi Job -
brauf - 15.08.2018
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
- Click the pastebin like above
- Find the link named \'raw\', click that.
- Press ctrl+s and name the file taxijob.pwn
- Drag taxijob.pwn to /filterscripts/ folder in your SA-MP server dictionary
- Using your pawn editor, compile the script taxijob.pwn by pressing F5 or the (compile) run button.
- Edit server.cfg, on the filterscripts line add \'taxijob\' to the list
- Start your SA-MP server and everything should work
Re: Taxi Job -
ExodusxD - 15.08.2018
Nice man,i really love it,good job,keep it up <3
Re: Taxi Job -
Hassanking2 - 15.08.2018
Good job man Keep releasing <3
Re: Taxi Job -
brauf - 15.08.2018
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
Re: Taxi Job -
Hassanking2 - 15.08.2018
Yea but everything is explained Thank you very much man +rep for you!
PS: can i pm you? i need you in something
Re: Taxi Job -
GaMiX - 15.08.2018
nice, keep it up
Re: Taxi Job -
Raayzeck - 17.08.2018
Nice filterscript bro, keep going like this!
Re: Taxi Job -
xRadical3 - 17.08.2018
Great fs
Re: Taxi Job -
Mitic0 - 17.08.2018
vнdeo?
Re: Taxi Job -
RxErT - 17.08.2018
Video Not Working Can You Post ScreenShots?
Re: Taxi Job -
RogueDrifter - 18.08.2018
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.