Skripta koju koristim: NBE
Detaljan opis problema: Kada neko udje u taxi ne placa nista ( A duty sam - fare ) kako to da sredim da mu skida pare
Dio skripte:
if(strcmp(cmd,"/fare",true)==0)
    {
        if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo == 10||PlayerInfo == 10|| PlayerInfo == 14)
{
if(TransportDuty > 0)
{
    if(TransportDuty == 1)
    {
        TaxiDrivers -= 1;
    }
    else if(TransportDuty == 2)
    {
        BusDrivers -= 1;
    }
    TransportDuty = 0;
format(string, sizeof(string), "* Sada ste van duznosti i zaradili ste $%d.", TransportMoney);
SendClientMessage(playerid, COLOR_WHITE, string);
JBC_GivePlayerMoney(playerid, TransportMoney);
TransportValue = 0; TransportMoney = 0;
return 1;
}
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 61 || Veh == 62 || Veh == 63 || Veh == 64 || Veh == 65 || Veh == 66 || Veh == 67 || Veh == 68 || Veh == 69 || Veh == 70)
{
    if(GetPlayerState(playerid) == 2)
    {
    tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "Koristite: /fare ");
return 1;
}
moneys = strval(tmp);
if(moneys < 1 || moneys > 999) { SendClientMessage(playerid, COLOR_GREY, "  Cena fare mora biti najmanje 1$ i max 999 !"); return 1; }
    TaxiDrivers += 1; TransportDuty = 1; TransportValue = moneys;
    GetPlayerName(playerid,sendername,sizeof(sendername));
    format(string, sizeof(string), " Taxi vozac %s je na duznosti,ukucajte /call 444 da bi pozvali taxi. Cena: $%d.", sendername, TransportValue);
    OOCNews(0xEDCA29AA,string);
    new taxicar = GetPlayerVehicleID(playerid);
if(taxicar == 61)
{
new xita;
format(xita, sizeof(xita), "[ TAXI ]\ncena:%d $",TransportValue);
Update3DTextLabelText(Taxiii1, COLOR_LIGHTGREEN, xita);
}
if(taxicar == 62)
{
new xita;
format(xita, sizeof(xita), "[ TAXI ]\ncena:%d $",TransportValue);
Update3DTextLabelText(Taxiii2, COLOR_LIGHTGREEN, xita);
}
if(taxicar == 63)
{
new xita;
format(xita, sizeof(xita), "[ TAXI ]\ncena:%d $",TransportValue);
Update3DTextLabelText(Taxiii3, COLOR_LIGHTGREEN, xita);
}
if(taxicar == 64)
{
new xita;
format(xita, sizeof(xita), "[ TAXI ]\ncena:%d $",TransportValue);
Update3DTextLabelText(Taxiii4, COLOR_LIGHTGREEN, xita);
}
if(taxicar == 65)
{
new xita;
format(xita, sizeof(xita), "[ TAXI ]\ncena:%d $",TransportValue);
Update3DTextLabelText(Taxiii5, COLOR_LIGHTGREEN, xita);
}
if(taxicar == 66)
{
new xita;
format(xita, sizeof(xita), "[ TAXI ]\ncena:%d $",TransportValue);
Update3DTextLabelText(Taxiii6, COLOR_LIGHTGREEN, xita);
}
if(taxicar == 67)
{
new xita;
format(xita, sizeof(xita), "[ TAXI ]\ncena:%d $",TransportValue);
Update3DTextLabelText(Taxiii7, COLOR_LIGHTGREEN, xita);
}
if(taxicar == 68)
{
new xita;
format(xita, sizeof(xita), "[ TAXI ]\ncena:%d $",TransportValue);
Update3DTextLabelText(Taxiii8, COLOR_LIGHTGREEN, xita);
}
if(taxicar == 69)
{
new xita;
format(xita, sizeof(xita), "[ TAXI ]\ncena:%d $",TransportValue);
Update3DTextLabelText(Taxiii9, COLOR_LIGHTGREEN, xita);
}
if(taxicar == 70)
{
new xita;
format(xita, sizeof(xita), "[ TAXI ]\ncena:%d $",TransportValue);
Update3DTextLabelText(Taxiii10, COLOR_LIGHTGREEN, xita);
}
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "  Niste vozac !");
    return 1;
}
}
    else if(Veh == 59 || Veh == 60)
{
    if(GetPlayerState(playerid) == 2)
    {
    tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "Koristite: /fare ");
return 1;
}
moneys = strval(tmp);
if(moneys < 1 || moneys > 999) { SendClientMessage(playerid, COLOR_GREY, "  Cena duznosti mora biti u granicama $1 do $999 !"); return 1; }
    BusDrivers += 1; TransportDuty = 2; TransportValue= moneys;
    GetPlayerName(playerid,sendername,sizeof(sendername));
    format(string, sizeof(string), "Vozac autobusa %s je na duznosti, Cena: $%d.", sendername, TransportValue);
    OOCNews(TEAM_GROVE_COLOR,string);
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "  Niste vozac !");
    return 1;
}
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "  Niste u Taksiju / Bus !");
}
}
else
{
    SendClientMessage(playerid,COLOR_GREY,"  Niste Taxi / Bus vozac !");
    return 1;
}
    }
    return 1;
}


Neke slike/video za lakse dobivanje pomoci(neobavezno): /