28.12.2008, 16:38
I'D have a script, when you're in a speciefic car and the car health goes under a speciefic health that you should get a message
i made this:
but doesnt work :/ please help me
i made this:
Код:
for(new v=0; v<MAX_VEHICLES; v++) { if(IsPlayerInVehicle(playerid,1) || IsPlayerInVehicle(playerid,2) || IsPlayerInVehicle(playerid,3) || IsPlayerInVehicle(playerid,4) || IsPlayerInVehicle(playerid,5) || IsPlayerInVehicle(playerid,6) || IsPlayerInVehicle(playerid,7) || IsPlayerInVehicle(playerid,8) || IsPlayerInVehicle(playerid,9) || IsPlayerInVehicle(playerid,10)) { new Float:health; GetVehicleHealth(v, health); if (health <= 999) { SendClientMessageToAll(COLOR_BLUE,"test"); } return 1; } }
![Wink](images/smilies/wink.png)