13.05.2016, 16:56
(
Последний раз редактировалось Dayrion; 13.05.2016 в 17:41.
)
Or... this ?
I don't know if this way is working.
EDIT: Changed the code
PHP код:
public OnGameModeInit()
{
for(new i = GetVehiclePoolSize(); i > 0; i--)
{
switch(GetVehicleModel(i))
{
case 520, 425: SetVehicleHealth(i, 2500);
case 528, 427: SetVehicleHealth(i, 5000);
case 432: SetVehicleHealth(i, 10000);
}
}
return 1;
}
EDIT: Changed the code