Fil 0 Odesláno: 8. Březen, 2009 Share Odesláno: 8. Březen, 2009 zdar dělam si autoškolu ale nwm jak udělat ked dojede do tohoto cp case CP9: { DisablePlayerCheckpoint(playerid); ridicak[playerid] = 1; SendClientMessage(playerid,BARVA_ORANZOVA,"Udělal jsi autoškolu"); } } } return 1; } Tak aby musel mit nepoškozene auto aby muto vyvolalo funkci ridicak[playerid] = 1; SendClientMessage(playerid,BARVA_ORANZOVA,"Udělal jsi autoškolu"); Prosím dopište mi to tam někdo.Dik lidi :thumbup: Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 8. Březen, 2009 Share Odesláno: 8. Březen, 2009 nejak takto trebas if(IsPlayerInVehicle(playerid,vozidlo ve kterem delal testy)) { new Float:zivot;GetVehicleHealth(killauto,zivot); if(zivot == 1000) { vyborne tu mas ridicak ridicak[id] = 1;... } else { nasrat ! } Link to comment Share on other sites More sharing options...
0 Fil 0 Odesláno: 8. Březen, 2009 Author Share Odesláno: 8. Březen, 2009 Už jsem skošel taky ale nešlo mito skusil jsem to i ted podle tebe case CP9: { DisablePlayerCheckpoint(playerid); if(IsPlayerInVehicle(playerid,vehicle)) { new Float:zivot; new killauto; GetVehicleHealth(killauto,zivot); if(zivot == 1000) { ridicak[playerid] = 1; SendClientMessage(playerid,BARVA_ORANZOVA,"Udělal jsi autoškolu"); }else{ SendClientMessage(playerid,BARVA_ORANZOVA,"Neudělal si řidičský zkoušky."); } } } } return 1; } a nic prosimte nemohl bys mito tam dopsat jak to ma bejt presne?...dik Link to comment Share on other sites More sharing options...
0 -other-Mizi_CZ 0 Odesláno: 8. Březen, 2009 Share Odesláno: 8. Březen, 2009 case CP9: { DisablePlayerCheckpoint(playerid); if(IsPlayerInVehicle(playerid,vehicle)) { new Float:zivot; new killauto == GetVehicleID(playerid); GetVehicleHealth(killauto,zivot); if(zivot == 1000) { ridicak[playerid] = 1; SendClientMessage(playerid,BARVA_ORANZOVA,"Udělal jsi autoškolu"); }else{ SendClientMessage(playerid,BARVA_ORANZOVA,"Neudělal si řidičský zkoušky."); } } } jestli to je konečný CP dej si za to ještě return 1; } Link to comment Share on other sites More sharing options...
0 Fil 0 Odesláno: 9. Březen, 2009 Author Share Odesláno: 9. Březen, 2009 Hele kluci nejde..prosimvas hod temi to primo do pwn http://uloz.to/1427046/Untitled.pwna pošlete odkas kde stahnu dik Link to comment Share on other sites More sharing options...
0 Fil 0 Odesláno: 10. Březen, 2009 Author Share Odesláno: 10. Březen, 2009 TAk poradi m iněkdo???... Link to comment Share on other sites More sharing options...
0 Fil 0 Odesláno: 10. Březen, 2009 Author Share Odesláno: 10. Březen, 2009 No lidi když mi to tam nedodate tak prosím aspon o opravu skusil sjem to udělat takto case CP9: { if(IsPlayerInVehicle(playerid,auta)){ nabouraneauto = GetPlayerVehicleID(playerid); GetVehicleHealth(nabouraneauto,Zivotnost); } else if(Zivotnost>900){ DisablePlayerCheckpoint(playerid); ridicak[playerid] = 1; SendClientMessage(playerid,BARVA_ORANZOVA,"Udělal jsi autoškolu"); }else{ SendClientMessage(playerid,BARVA_ORANZOVA,"Neudělal jsi řidičské testy."); DisablePlayerCheckpoint(playerid); } } } return 1; } Ale pokaždé mi to napiše že jsem neudělal řidičské testy.. ..prosím poradte kde je chyba...děkuji tomu kdo tuto zahadu vyeřeší :thumbup: Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 10. Březen, 2009 Share Odesláno: 10. Březen, 2009 IsPlayerInAnyVehicle(playerid) skus toto Link to comment Share on other sites More sharing options...
0 Fil 0 Odesláno: 10. Březen, 2009 Author Share Odesláno: 10. Březen, 2009 Jeste mi prosimtě řekni misto čeho dik Link to comment Share on other sites More sharing options...
0 Mattsy 29 Odesláno: 10. Březen, 2009 Share Odesláno: 10. Březen, 2009 logika si domysli ne? namiesto: IsPlayerInVehicle(playerid,auta) Link to comment Share on other sites More sharing options...
0 -other-Mizi_CZ 0 Odesláno: 10. Březen, 2009 Share Odesláno: 10. Březen, 2009 no cRaShEr toto je blbý to pak nemůže dát že je v autě jen určitým toto je správně (musí na to mít stock) Link to comment Share on other sites More sharing options...
0 Fil 0 Odesláno: 10. Březen, 2009 Author Share Odesláno: 10. Březen, 2009 No nejde:-( to mi vubec ani ten posledni cp nezmizi...tak mi prosim někdo poradte Link to comment Share on other sites More sharing options...
0 Fil 0 Odesláno: 10. Březen, 2009 Author Share Odesláno: 10. Březen, 2009 jak naten stock pls napis miho sem prosim..nebom mam snad začít kopčit tutu???..jak nějaci lamaci? ..shit kopirovnai tut :thumbdown: Link to comment Share on other sites More sharing options...
Dotaz
Fil 0
zdar dělam si autoškolu ale nwm jak udělat ked dojede do tohoto cp
case CP9:
{
DisablePlayerCheckpoint(playerid);
ridicak[playerid] = 1;
SendClientMessage(playerid,BARVA_ORANZOVA,"Udělal jsi autoškolu");
}
}
}
return 1;
}
Tak aby musel mit nepoškozene auto aby muto vyvolalo funkci
ridicak[playerid] = 1;
SendClientMessage(playerid,BARVA_ORANZOVA,"Udělal jsi autoškolu");
Prosím dopište mi to tam někdo.Dik lidi :thumbup:
Link to comment
Share on other sites
12 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now