Hello, azlenne a gondom hogy mikor kiszállok a kocsiból akkor resizõdik ( Akárki ül benne )
}//Done with car check
if(IsACopCar(newcar))
{
if(IsACop(playerid))
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1) { }
else { RemovePlayerFromVehicle(playerid); }
}
if(IsATank(newcar))
{
if(PlayerInfo[playerid][pLeader] == 3||PlayerInfo[playerid][pLeader] == 3) { }
else { RemovePlayerFromVehicle(playerid); }
}
if(IsAnFbiCar(newcar))
{
if(IsAnFbiCar(playerid))
if(PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pLeader] == 2) { }
else { RemovePlayerFromVehicle(playerid); }
}
if(IsAnSinatraCar(newcar))
{
if(PlayerInfo[playerid][pLeader] == 6||PlayerInfo[playerid][pMember] == 6) { }
else {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_LIGHTRED,\"Nem vagy tagja a szervezetnek!\");}
}
if(IsAnColdCar(newcar))
{
if(PlayerInfo[playerid][pLeader] == 15||PlayerInfo[playerid][pMember] == 15) { }
else {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_LIGHTRED,\"Nem vagy tagja a szervezetnek!\");}
}
if(IsAnDestroyersCar(newcar))
{
if(PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 5) { }
else {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_LIGHTRED,\"Nem vagy tagja a szervezetnek!\");}
}
if(IsNgCar(newcar))
{
if(PlayerInfo[playerid][pLeader] == 3||PlayerInfo[playerid][pMember] == 3) { }
else {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_LIGHTRED,\"Nem vagy tagja a szervezetnek!\");}
}
if(IsAGovernmentCar(newcar))
{
if(PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 3||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 7||PlayerInfo[playerid][pMember] == 7) { }
else {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_LIGHTRED,\"Nem vagy tagja a szervezetnek!\");}
}
if(IsAHspdCar(newcar))
{
if(PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pRank] > 5) { }
else {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_LIGHTRED,\"Nem vagy tagja a szervezetnek!\");}
}
else if(IsAnAmbulance(newcar))
{
if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4) { }
else { RemovePlayerFromVehicle(playerid); }
SendClientMessage(playerid,COLOR_LIGHTRED, \"Nem vagy tagja a szervezetnek !\");
}
/*if(IsAGangCar(newcar))
{
Sztem ebbe a gond