Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++)
- {
- for(new v = 1, k = GetVehiclePoolSize(); v <= k; v++)
- {
- if(bVehicleInfo[v] > 1)
- {
- bVehicleInfo[v] --;
- }
- if(bVehicleInfo[v] == 1)
- {
- new Float:x, Float:y, Float:z;
- GetVehiclePos(v, x, y, z);
- CreateExplosion(x, y, z, 6, 10.0);
- SetVehicleToRespawn(v);
- bVehicleInfo[v] = 0;
- if(IsPlayerInVehicle(i, v))
- {
- SetPlayerHealth(i, 0);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment