new rendorosautok[13]; // 13 autója lehet majd a frakciónakpublic OnGameModeInit(){ rendorosautok[0] = AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2); rendorosautok[1] = AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2); rendorosautok[2] = AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2); //Felsorolod a jármûveket return 1;}public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){ for(new i = 0; i < 13; i++) { if(vehicleid = rendorosautok) { ClearAnimations(playerid); SendClientMessage(playerid, 0xd5ff00AA, \"Nem vagy rendõr!\"); } } return 1;}