One tier only
#1

Heyoh!

So here is a problem, I've got a random tier destroying (something like someone shot it) however I've got a function
pawn Код:
new rand = random(sizeof(gTires));
which chooses random tier HOWEVER it tokes more than one as I want only one to be taken off?

Here is the rest of the script

pawn Код:
SendClientMessage(playerid, COLOR_CRIMSON,"[WARNING]: One of your tires have gone flat!");
    UpdateVehicleDamageStatus(GetPlayerVehicleID(playerid),0,0,0,dTires[rand]);
    return 1;
}
Reply


Messages In This Thread
One tier only - by Tachibana - 29.06.2011, 01:40
Re: One tier only - by Shadoww5 - 29.06.2011, 01:44
Re: One tier only - by Tachibana - 29.06.2011, 01:49
Re: One tier only - by Shadoww5 - 29.06.2011, 02:38
Re: One tier only - by =WoR=Varth - 29.06.2011, 02:46
Re: One tier only - by Shadoww5 - 29.06.2011, 02:52
Re: One tier only - by =WoR=Varth - 29.06.2011, 02:58
Re: One tier only - by Shadoww5 - 29.06.2011, 03:03
Re: One tier only - by Tachibana - 29.06.2011, 03:07
Re: One tier only - by =WoR=Varth - 29.06.2011, 03:09

Forum Jump:


Users browsing this thread: 2 Guest(s)