SA-MP Forums Archive
Need help with Taxi . - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help with Taxi . (/showthread.php?tid=574104)



Need help with Taxi . - SoFahim - 13.05.2015

I need a code for
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
There no Taxi code like
if(IsABaitCar(vehicleid))
{
foreach (new i : Player)
{
if(!ispassenger)
{
PlayerTextDrawSetString(i, Textdraw5, "~g~[");
}
else
{
if(GetPlayerVehicleSeat(playerid) == 1)
{
PlayerTextDrawSetString(i, Textdraw6, "~g~]");
}
else if(GetPlayerVehicleSeat(playerid) == 2)
{
PlayerTextDrawSetString(i, Textdraw7, "~g~[");
}
else if(GetPlayerVehicleSeat(playerid) == 3)
{
PlayerTextDrawSetString(i, Textdraw8, "~g~]");
}
}
}
}
.


I need a code and also two cmd for Taxi job and Faction.

/starmeter and /stopmeter
Please help


Re: Need help with Taxi . - Sellize - 13.05.2015

Please try rephrasing your question and use [code] tags?


Re: Need help with Taxi . - Luis- - 13.05.2015

We're not here to code your scripts. Just give it ago, if you get errors along the way, then we'll help you.


Re: Need help with Taxi . - SoFahim - 13.05.2015

I create /startmeter and /stopmeter cmd for Taxi but that shows many error about YSI