Moin ich möchte gerne das bei uns der personen schutz ert mit rank 3 helicopter fliegen kann wie mache ich das
new PraesiVehs[26];//
PraesiVehs[1] =AddStaticVehicleEx(487,1175.34167480,-2019.70715332,69.27281189,0.00000000,1,1,-1); //Maverick
PraesiVehs[2] = AddStaticVehicleEx(487,1175.08129883,-2051.68115234,69.27281189,0.00000000,1,1,-1); //Maverick
PraesiVehs[3] =AddStaticVehicleEx(409,1134.13220215,-2050.17724609,68.93281555,0.00000000,1,1,-1); //Stretch
PraesiVehs[4] =AddStaticVehicleEx(409,1134.24108887,-2023.64001465,68.92561340,0.00000000,-1,-1,-1); //Stretch
PraesiVehs[5] =AddStaticVehicleEx(497,1151.91052246,-2051.57666016,69.26560974,0.00000000,1,1,-1); //Police Maverick
PraesiVehs[6] =AddStaticVehicleEx(596,1245.60681152,-2011.38159180,59.65126038,0.00000000,1,1,-1); //Police Car (LSPD)
PraesiVehs[7] =AddStaticVehicleEx(596,1250.54846191,-2011.49645996,59.51003265,0.00000000,1,1,-1); //Police Car (LSPD)
PraesiVehs[8] =AddStaticVehicleEx(596,1255.81542969,-2011.47473145,59.35951233,0.00000000,1,1,-1); //Police Car (LSPD)
PraesiVehs[9] =AddStaticVehicleEx(596,1261.03393555,-2011.61218262,59.21037674,0.00000000,1,1,-1); //Police Car (LSPD)
PraesiVehs[10] = AddStaticVehicleEx(596,1267.19873047,-2011.66247559,59.03412247,0.00000000,1,1,-1); //Police Car (LSPD)
PraesiVehs[11] = AddStaticVehicleEx(601,1245.74987793,-2040.94995117,59.76352310,0.00000000,-1,-1,-1); //S.W.A.T. Van
PraesiVehs[12] = AddStaticVehicleEx(601,1250.75439453,-2040.93969727,59.61806107,0.00000000,1,1,-1); //S.W.A.T. Van
PraesiVehs[13] = AddStaticVehicleEx(601,1256.03479004,-2040.86914062,59.45787811,0.00000000,-1,-1,-1); //S.W.A.T. Van
PraesiVehs[14] = AddStaticVehicleEx(415,1276.96789551,-2017.55456543,58.77328491,89.24743652,1,1,-1); //Cheetah
PraesiVehs[15] = AddStaticVehicleEx(415,1276.96105957,-2024.39318848,58.79382706,89.24743652,1,1,-1); //Cheetah
PraesiVehs[16] = AddStaticVehicleEx(415,1276.95739746,-2030.81604004,58.81630325,89.24743652,1,1,-1); //Cheetah
PraesiVehs[17] = AddStaticVehicleEx(415,1276.92053223,-2037.15124512,58.84058380,89.24743652,1,1,-1); //Cheetah
PraesiVehs[18] = AddStaticVehicleEx(415,1276.93078613,-2043.30871582,58.86966324,89.24743652,1,1,-1); //Cheetah
PraesiVehs[19] = AddStaticVehicleEx(581,1240.83410645,-2025.57690430,59.68608856,270.00000000,1,1,-1); //BF-400
PraesiVehs[20] = AddStaticVehicleEx(581,1240.91174316,-2023.09655762,59.69041443,270.00000000,1,1,-1); //BF-400
PraesiVehs[21] = AddStaticVehicleEx(581,1240.92712402,-2020.51586914,59.69127655,270.00000000,1,1,-1); //BF-400
PraesiVehs[22] = AddStaticVehicleEx(581,1240.86022949,-2017.91357422,59.68268204,270.00000000,1,1,-1); //BF-400
PraesiVehs[23] = AddStaticVehicleEx(528,1247.15051270,-2052.96704102,60.00525284,268.25000000,-1,-1,-1); //FBI Truck
PraesiVehs[25] = AddStaticVehicleEx(528,1247.08447266,-2057.98388672,59.96426010,268.99768066,-1,-1,-1); //FBI Truck
hier die autos von der frak
if(!IsPlayerInFrac(playerid,7))
{
for(new pv = 0; pv < sizeof(PraesiVehs); pv++)
{
if(newcar == PraesiVehs[pv])
{
SendClientMessage(playerid,COLOR_RED,"Du hast die auto schlüssel nicht!");
RemovePlayerFromVehicle(playerid);
}
}
}
und hier wo der player rausgeworfen wird nur wie mache ich da jetzt ein pRank system rein ?
mfg samp user
//Edit was hinzugefügt