Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function RespawnujSveTimer()
- {
- for(new car = 1; car <= MAX_VEHICLES; car++)
- {
- if(VoziloInfo[car][vImaVlasnika] == 0 || MotorInfo[car][mImaVlasnika] == 0 || PlovilaInfo[car][plImaVlasnika] == 0 || AvionInfo[car][avImaVlasnika] == 0)
- {
- if(IsVehicleEmpty(car))
- {
- if(GetVehicleModel(car) != 435 && GetVehicleModel(car) != 584)
- {
- SetVehicleToRespawn(car);
- }
- }
- }
- }
- new s[256];
- format(s, sizeof(s), "{80C8FE}RESPAWN: {FFFFFF}Sva vozila (non-ownable) su vracena u prvobitni polozaj.");
- SendClientMessageToAll(-1,s);
- return true;
- }
- function RespawnujSveNTimer()
- {
- for(new car = 1; car <= MAX_VEHICLES; car++)
- {
- if(VoziloInfo[car][vImaVlasnika] == 1 || MotorInfo[car][mImaVlasnika] == 1 || PlovilaInfo[car][plImaVlasnika] == 1 || AvionInfo[car][avImaVlasnika] == 1)
- {
- if(IsVehicleEmpty(car))
- {
- SetVehicleToRespawn(car);
- }
- }
- }
- new s[256];
- format(s, sizeof(s), "{80C8FE}RESPAWN: {FFFFFF}Sva vozila (ownable) su vracena u prvobitni polozaj.");
- SendClientMessageToAll(-1,s);
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement