Jump to content
  • 0

pomoc CP potřebuji doladit:D


Fil

Dotaz

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

  • 0

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

  • 0

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

  • 0

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

  • 0

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.. :cry: ..prosím poradte kde je chyba...děkuji tomu kdo tuto zahadu vyeřeší :thumbup:

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...