if(newcar == taxic[1] || newcar == taxic[2] || newcar == taxic[3] || newcar == taxic[4] || newcar == taxic[5] || newcar == taxic[6] || newcar == taxic[7] || newcar == taxic[8] || newcar == taxic[9] || newcar == taxic[10])
{
if(PlayerInfo[playerid][pMember] == 13||PlayerInfo[playerid][pLeader] == 13) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"You are not a Los Santos Taxi member.");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == taxic[6] || newcar == taxic[7])
{
if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
{
if(PlayerInfo[playerid][pRank] > 2) { }
else
{
SendClientMessage(playerid,COLOR_WHITE,"You don't have rank 3.");
RemovePlayerFromVehicle(playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_WHITE,"You are not a Los Santos Taxi member or you don't have rank 3.");
RemovePlayerFromVehicle(playerid);
}
}
Cred ca asta ar fii codul cu problema!?