SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Thread Tools Display Modes
Old 18/08/2018, 08:23 PM   #11
RogueDrifter's Avatar
Join Date: Dec 2017
Location: SA-MP Drifting world.
Posts: 1,243
Reputation: 379
Default Re: Taxi Job

PHP Code:
IsPlayerInAnyVehicle(playerid)) return false;
GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) return false;
GetVehicleModel(GetPlayerVehicleID(playerid)) == 420 || 438 && GetPlayerVehicleSeat(playerid) == 0) 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:
    return (
GetVehicleModel(GetPlayerVehicleID(playerid)) == 420 || 438 && GetPlayerVehicleSeat(playerid) == 0)

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

[Github]:Link [Gists]:Link [Forum]:Link [Server]:Link [Discord]:Link

RogueDrifter is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Taxi Bug Drago987 Scripting Help 11 25/08/2015 12:09 AM
taxi hillko Scripting Help 1 17/04/2014 04:08 PM
Player gets in taxi with taxi driver [LHT]Bally Scripting Help 1 14/01/2013 02:11 PM
[Map] Taxi oakley Lanзamentos/Releases 11 18/10/2010 11:22 PM

All times are GMT. The time now is 10:57 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.