SA-MP Forums

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

Thread Tools Display Modes
Old 18/08/2018, 07:23 PM   #11
RogueDrifter's Avatar
Join Date: Dec 2017
Location: SA-MP Drifting world.
Posts: 1,142
Reputation: 344
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.
I'm not using the forum to release stuff anymore, if you want updates for my releases or to check my new releases check the links below >
Originally Posted by Escobar ⚠
Life sucked me in and shat me on the cruel world.

[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 24/08/2015 11:09 PM
taxi hillko Scripting Help 1 17/04/2014 03:08 PM
Player gets in taxi with taxi driver [LHT]Bally Scripting Help 1 14/01/2013 01:11 PM
[Map] Taxi oakley Lanзamentos/Releases 11 18/10/2010 10:22 PM

All times are GMT. The time now is 09:08 AM.

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