Jump to content

Recommended Posts

Posted (edited)

Am facut asta deja si nu scrie nici o suma de bani gasesc doar:

pizzaprize[playe rid] = 0; 

if(PlayerInfo[play erid][pPizzaSkill] == 1) pizzaprize[play erid] = distance*8;
if(PlayedInfo[play erid][pPizzaSkill] == 2) pizzaprize[play erid] = distance*8 + (distance*8)*(10/100);
if(PlayerInfo[play erid][pPizzaSkill] == 3) pizzaprize[play erid] = distance*8 + (distance*8)*(20/100);
if(PlayerInfo[play erid][pPizzaSkill] == 4) pizzaprize[play erid] = distance*8 + (distance*8)*(30/100);
if(PlayerInfo[play erid][pPizzaSkill] == 5) pizzaprize[play erid] = distance*8 + (distance*8)*(40/100);
if(PlayerInfo[play erid][pPizzaSkill] == 6) pizzaprize[play erid] = distance*8 + (distance*8)*(50/100);
Edited by BuckzorDMG
Posted

 distance*8 + (distance*8)*(10/100);

 

distanta la care e checkpointul ori 8 plus distanta la care e checkpointul ori 8 opri 10 impartit la 100.

Daca e 1453m pana la checkpoint rezultatul o sa fie: 127k ...... nu le am cu matematica

  • Upvote 1
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.