TheGodfather Posted June 16, 2021 Report Share Posted June 16, 2021 Salut, imi puteti spune ce trebuie sa elimin din acest gamemode ca atunci cand masina personala are sistemul Premium pe ea sa nu mai derapeze mai usor decat in mod normal? E legat de velocity banuiesc dar nu stiu ce sa scot. B-HOOD.pwn Quote Link to comment Share on other sites More sharing options...
0 iSkull Posted June 20, 2021 Report Share Posted June 20, 2021 derapajul acela e din cauza vitezei Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted June 17, 2021 Author Report Share Posted June 17, 2021 up Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted June 18, 2021 Author Report Share Posted June 18, 2021 up2 Quote Link to comment Share on other sites More sharing options...
0 iSkull Posted June 19, 2021 Report Share Posted June 19, 2021 Cauta task OneTimer si ai "foreach(new i : IsSpeed) GiveVehicleSpeed(i);" ii pui inainte // Ar trebui sa dezactiveze acea derapare, e singurul lucru pe care l-am gasit la vehiculele personale, restul e pentru altceva Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted June 19, 2021 Author Report Share Posted June 19, 2021 Acum 3 ore, iSkull a spus: Cauta task OneTimer si ai "foreach(new i : IsSpeed) GiveVehicleSpeed(i);" ii pui inainte // Ar trebui sa dezactiveze acea derapare, e singurul lucru pe care l-am gasit la vehiculele personale, restul e pentru altceva Ok, multumesc. Voi incerca si revin cu reply. Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted June 19, 2021 Author Report Share Posted June 19, 2021 Acum 3 ore, iSkull a spus: Cauta task OneTimer si ai "foreach(new i : IsSpeed) GiveVehicleSpeed(i);" ii pui inainte // Ar trebui sa dezactiveze acea derapare, e singurul lucru pe care l-am gasit la vehiculele personale, restul e pentru altceva function GiveVehicleSpeed(i) { if(ServerSystem[11] == 1 || !IsPlayerInAnyVehicle(i)) return true; new vehicleid = GetPlayerVehicleID(i), keys, Float:vx, Float:vy, Float:vz, carid = FindSpawnID(GetPlayerVehicleID(i)) ; if(GetVehicleSpeedUp(i, carid)) return true; GetPlayerKeys(i, keys, _:vx, _:vx); if ((keys & (KEY_VEHICLE_FORWARD | KEY_VEHICLE_BACKWARD | KEY_HANDBRAKE)) == KEY_VEHICLE_FORWARD) { GetVehicleVelocity(vehicleid, vx, vy, vz); if (vx * vx + vy * vy < g_SpeedThreshold) return true; vx *= SPEED_MULTIPLIER; vy *= SPEED_MULTIPLIER; if (vz > 0.04 || vz < -0.04) vz -= 0.020; SetVehicleVelocity(vehicleid, vx, vy, vz); } return true; } Daca pun cum ai pus tu nu mai merge sistemul de stage, doar derapajul ala vreau sa il elimin Quote Link to comment Share on other sites More sharing options...
0 iSkull Posted June 19, 2021 Report Share Posted June 19, 2021 altceva nu ti-am gasit, aici depinde si ce masina folosesti, daca ai elegy e ceva normal, depinde mult si de roti, altceva nu ti-am gasit in gm Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted June 19, 2021 Author Report Share Posted June 19, 2021 Acum 1 minut, iSkull a spus: altceva nu ti-am gasit, aici depinde si ce masina folosesti, daca ai elegy e ceva normal, depinde mult si de roti, altceva nu ti-am gasit in gm Am testat cu multe masini, infernus, nrg 500, sultan si toate derapau cand aveau sistemul premium mai repede ca in mod normal. Quote Link to comment Share on other sites More sharing options...
0 iSkull Posted June 19, 2021 Report Share Posted June 19, 2021 presupun ca e cVip pentru sistemul premium, acolo am gasit doar pentru acel text si vehicle health, doar stage-ul e cel mai probabil de vina, e singurul pe velocity mai e comanda /speed pentru admini 6, in rest nimic Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted June 19, 2021 Author Report Share Posted June 19, 2021 Acum 1 minut, iSkull a spus: presupun ca e cVip pentru sistemul premium, acolo am gasit doar pentru acel text si vehicle health, doar stage-ul e cel mai probabil de vina, e singurul pe velocity mai e comanda /speed pentru admini 6, in rest nimic cLegendary e pentru sistemul premium Quote Link to comment Share on other sites More sharing options...
0 iSkull Posted June 19, 2021 Report Share Posted June 19, 2021 (edited) tine de sistemul de stage, el iti adauga in foreach-ul IsSpeed, altceva nu mai e cauta functia function GetVehicleSpeedUp(playerid, carid) { new x, m = CarInfo[carid][cMaxSpeed]; x = CarInfo[carid][cLegendary] ? 300 : m; x = CarInfo[carid][cStage] ? StageSpeed[0][CarInfo[carid][cStage]]+x : x; return Carspeed(GetPlayerVehicleID(playerid)) < (m-3) || Carspeed(GetPlayerVehicleID(playerid)) > (x-3) ? (true) : (false); } si pune astfel function GetVehicleSpeedUp(playerid, carid) { new x, m = CarInfo[carid][cMaxSpeed]; x = CarInfo[carid][cStage] ? StageSpeed[0][CarInfo[carid][cStage]]+x : x; return Carspeed(GetPlayerVehicleID(playerid)) < (m-3) || Carspeed(GetPlayerVehicleID(playerid)) > (x-3) ? (true) : (false); } Edited June 19, 2021 by iSkull Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted June 19, 2021 Author Report Share Posted June 19, 2021 Acum 2 ore, iSkull a spus: tine de sistemul de stage, el iti adauga in foreach-ul IsSpeed, altceva nu mai e cauta functia function GetVehicleSpeedUp(playerid, carid) { new x, m = CarInfo[carid][cMaxSpeed]; x = CarInfo[carid][cLegendary] ? 300 : m; x = CarInfo[carid][cStage] ? StageSpeed[0][CarInfo[carid][cStage]]+x : x; return Carspeed(GetPlayerVehicleID(playerid)) < (m-3) || Carspeed(GetPlayerVehicleID(playerid)) > (x-3) ? (true) : (false); } si pune astfel function GetVehicleSpeedUp(playerid, carid) { new x, m = CarInfo[carid][cMaxSpeed]; x = CarInfo[carid][cStage] ? StageSpeed[0][CarInfo[carid][cStage]]+x : x; return Carspeed(GetPlayerVehicleID(playerid)) < (m-3) || Carspeed(GetPlayerVehicleID(playerid)) > (x-3) ? (true) : (false); } La fel face, nu mai merge stage-ul dar a dezactivat si deraparea aia. Quote Link to comment Share on other sites More sharing options...
0 iSkull Posted June 19, 2021 Report Share Posted June 19, 2021 am explicat mai sus ce face Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted June 19, 2021 Author Report Share Posted June 19, 2021 Acum 29 minute, iSkull a spus: am explicat mai sus ce face Atunci cum pot separa stage-ul de premium, stage-ul sa imi dea doar viteza in plus, gen la infernus daca am stage 1 sa am 5km+, stage 2 10km+ si stage 3 15km+ Quote Link to comment Share on other sites More sharing options...
0 iSkull Posted June 19, 2021 Report Share Posted June 19, 2021 ai deja asa ceva new StageSpeed[1][4] = { {0, 10, 35, 85} }; Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted June 20, 2021 Author Report Share Posted June 20, 2021 Acum 22 ore, iSkull a spus: ai deja asa ceva new StageSpeed[1][4] = { {0, 10, 35, 85} }; Atunci nu se poate scoate derapajul ala fara sa stric si sistemul de stage nu? Quote Link to comment Share on other sites More sharing options...
0 TheGodfather Posted June 20, 2021 Author Report Share Posted June 20, 2021 Acum 5 ore, iSkull a spus: derapajul acela e din cauza vitezei Aa ok, multumesc mult pentru ajutor. Quote Link to comment Share on other sites More sharing options...
Question
TheGodfather
Salut, imi puteti spune ce trebuie sa elimin din acest gamemode ca atunci cand masina personala are sistemul Premium pe ea sa nu mai derapeze mai usor decat in mod normal? E legat de velocity banuiesc dar nu stiu ce sa scot.
B-HOOD.pwn
Link to comment
Share on other sites
17 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.