Stefan112 Posted October 22, 2013 Report Share Posted October 22, 2013 Salut SA-MP.RONickname: Stefan112Problema intalnita: Nu reusesc sa fac un sistem de odometer ca pe b-zone doar la masinile personale vreauCe am incercat pana acum: sa caut pe wiki si sa fac euPoze/Comanda/server_log (dupa caz):- Scripting for $$ .CONTACT: [email protected] . Link to comment Share on other sites More sharing options...
Джо Posted October 22, 2013 Report Share Posted October 22, 2013 Asa,si ce propui? Link to comment Share on other sites More sharing options...
Stefan112 Posted October 22, 2013 Author Report Share Posted October 22, 2013 Sa ma ajutitati voi eu am facut am incercat sa fac publicul dar nu am stiut [pawn]forward Speed();public Speed(){new str[64];for(new i; i<MAX_PLAYERS; i++){ if(IsPlayerConnected(i)) { if(PlayerSpeed > 0)[/pawn] Scripting for $$ .CONTACT: [email protected] . Link to comment Share on other sites More sharing options...
Джо Posted October 22, 2013 Report Share Posted October 22, 2013 Acum mai nou sa pus un gamemode B-ZONE original pe Goagle.Cauta si tu si vei gasi acolo;)EDIT:Ti-am gasit eu serverul dorit de tine.http://fisierulmeu.ro/38SR5ZJMKLAJ/B-Zone-rar.html Link to comment Share on other sites More sharing options...
Stefan112 Posted October 23, 2013 Author Report Share Posted October 23, 2013 Nu e gm b-zone e altu Scripting for $$ .CONTACT: [email protected] . Link to comment Share on other sites More sharing options...
Джо Posted October 23, 2013 Report Share Posted October 23, 2013 Nah,cauta si tu.... Link to comment Share on other sites More sharing options...
Gireada Posted October 23, 2013 Report Share Posted October 23, 2013 Explica ce e ala odometru Link to comment Share on other sites More sharing options...
Stefan112 Posted October 23, 2013 Author Report Share Posted October 23, 2013 Un fel de kilometraj ca la masina personala cati kilometri faci faci cu ea sau cati ai facut de Exemplu: Kilometri:54.003 maine a doua zi mai mergi cu ea si ai facut Kilometri: 104.543 543 fiind metri Scripting for $$ .CONTACT: [email protected] . Link to comment Share on other sites More sharing options...
Джо Posted October 24, 2013 Report Share Posted October 24, 2013 Poftim Gamemode-ul.http://www.girlshare.ro/32937144.9 Link to comment Share on other sites More sharing options...
Stefan112 Posted October 24, 2013 Author Report Share Posted October 24, 2013 Asta nu are nici dealershipu si nici masini personale si nici speedometer dar odometer nici atat Scripting for $$ .CONTACT: [email protected] . Link to comment Share on other sites More sharing options...
Gireada Posted October 24, 2013 Report Share Posted October 24, 2013 Uite aic un exemplu Link to comment Share on other sites More sharing options...
Джо Posted October 24, 2013 Report Share Posted October 24, 2013 Mi-am adus aminte ca am si eu unu de asta=))Uite aici:[pawn]public CheckInfo(){ for(new i = 0;i < MAX_PLAYERS; i++) { if (IsPlayerInAnyVehicle(i) && IsPlayerConnected(i)) { new vehicleid = GetPlayerVehicleID(i); new Float:spekmph = GetPlayerSpeed(i); //new Float:dist = GetPlayerDistance(i); new Float:maxspeed = 230.0; new Float:maxspeed01 = 270.0; new Float:maxspeed2 = 85.0; new plname[MAX_PLAYER_NAME]; new string[256]; //CarInfo[vehicleid][cDist] += dist; if(gSpeedo == 2) { if(spekmph < 50) { format(string, 256, "~b~Rezervor: ~w~%d\%~n~~b~KM/H: ~w~%.0f~n~~b~Kilometri: ~w~%d",Gas[vehicleid],spekmph,CarInfo[vehicleid][cDist]); } if(spekmph > 50 && spekmph < 90) { format(string, 256, "~g~Rezervor: ~w~%d\%~n~~g~KM/H: ~w~%.0f~n~~g~Kilometri: ~w~%d",Gas[vehicleid],spekmph,CarInfo[vehicleid][cDist]); } if(spekmph > 90 && spekmph < 130) { format(string, 256, "~y~Rezervor: ~w~%d\%~n~~y~KM/H: ~w~%.0f~n~~y~Kilometri: ~w~%d",Gas[vehicleid],spekmph,CarInfo[vehicleid][cDist]); } if(spekmph > 130) { format(string, 256, "~r~Rezervor: ~w~%d\%~n~~r~KM/H: ~w~%.0f~n~~r~Kilometri: ~w~%d",Gas[vehicleid],spekmph,CarInfo[vehicleid][cDist]); } TextDrawSetString(KMH,string); //GameTextForPlayer(i, string, 2000, 5); } if(spekmph > maxspeed && PlayerInfo[pAdmin] < 1) { new tmpcar = GetPlayerVehicleID(i); if(!Avion(tmpcar) || !Elicopter(tmpcar)) { GetPlayerName(i, plname, sizeof(plname)); format(string, 256, "ATENTIE ADMINI: [%d]%s are %d kmph cu un vehicul",i,plname,spekmph); ABroadCast(COLOR_YELLOW,string,1); } } if(spekmph > maxspeed01 && PlayerInfo[pAdmin] < 1) { new tmpcar = GetPlayerVehicleID(i); if(Avion(tmpcar) || Elicopter(tmpcar)) { GetPlayerName(i, plname, sizeof(plname)); format(string, 256, "ATENTIE ADMINI: [%d]%s are %d kmph cu un vehicul de zbor",i,plname,spekmph); ABroadCast(COLOR_YELLOW,string,1); } } new tmpcar = GetPlayerVehicleID(i); if(spekmph > maxspeed2) { if(pTest > 0 || pTestC > 0 || pTestA > 0) { DisablePlayerRaceCheckpoint(i); RemovePlayerFromVehicle(i); SendClientMessage(i,COLOR_LIGHTBLUE," Ai depasit viteza de 50 kmph in localitate si ai picat!"); pTest = 0; pTestC = 0; pTestA = 0; PlayerPlaySound(i, 1055, 0.0, 0.0, 0.0); SetVehicleToRespawn(tmpcar); TakingLesson = 0; } } } /*if(commlock > 0) { PlayerInfo[playerid][pLocked] = 1; BanEx(playerid,reason); }*/ }}[/pawn] Nu sterge nimic din el!O sa isi schimbe culoarea automat.+1 daca te-am ajutat. Link to comment Share on other sites More sharing options...
Gireada Posted October 24, 2013 Report Share Posted October 24, 2013 Nu l-ai ajutat deloc, poate el are al sistem de vehicule sau alt gamemode. Tu ai alte variabile si el altele. Mai mult o sa ne dai noua de munca cerandune sa il ajutam. Link to comment Share on other sites More sharing options...
Джо Posted October 24, 2013 Report Share Posted October 24, 2013 Atunci imi pare rau,eu ziceam sa nu stearga ala cu Rezervor,Benzina si respectiv Kilometrii,restul poate sa editeze.Pentru ca daca sterge cand isi va schimba culoarea una nu va aparea cealalta. Link to comment Share on other sites More sharing options...
Question
Stefan112
Salut SA-MP.RO
Nickname: Stefan112
Problema intalnita: Nu reusesc sa fac un sistem de odometer ca pe b-zone doar la masinile personale vreau
Ce am incercat pana acum: sa caut pe wiki si sa fac eu
Poze/Comanda/server_log (dupa caz):-
Scripting for $$ .
CONTACT: [email protected] .
Link to comment
Share on other sites
13 answers to this question
Recommended Posts