Chances with percentage
#4

Is dis guud?

Код:
new luck = random(9), panels, doors, lights, tires;
					    
					    if(luck == 0)
					    {
							SendClientMessage(playerid, COLOR_WHITE, "Ai umflat roata prea mult si aceasta a explodat.");
						}
						else if(luck > 0)
						{
						    vehicle = GetPlayerVehicleID(playerid);
						    GetVehicleDamageStatus(vehicle, panels, doors, lights, tires);
						    UpdateVehicleDamageStatus(vehicle, panels, doors, lights, 15);
						}
Reply


Messages In This Thread
Chances with percentage - by AndreiWow - 04.01.2017, 12:28
Re: Chances with percentage - by BiosMarcel - 04.01.2017, 12:40
Re: Chances with percentage - by coool - 04.01.2017, 12:40
Re: Chances with percentage - by AndreiWow - 04.01.2017, 12:51
Re: Chances with percentage - by coool - 04.01.2017, 12:54
Re: Chances with percentage - by BiosMarcel - 04.01.2017, 12:55
Re: Chances with percentage - by AndreiWow - 04.01.2017, 13:06
Re: Chances with percentage - by BiosMarcel - 04.01.2017, 13:10
Re: Chances with percentage - by GoldenLion - 04.01.2017, 13:10
Re: Chances with percentage - by SyS - 04.01.2017, 13:13

Forum Jump:


Users browsing this thread: 1 Guest(s)