Jump to content

Problema : dispare masina din senin/se despawneaza


Vladish
 Share

Recommended Posts

  • Administrator

Banuiesc ca problema asta o ai pe gamemode ul Burned.

 

Cauta functia

function DespawnVehicle(carid) {
	new dbid = FindSpawnID(carid);
	if(CarInfo[dbid][Spawned] != 0) DestroyPlayerCar(dbid);
	printf("Vehicle %d despawned. [db: %d]", carid, dbid);
	return 1;
}

Si inlocuieste o cu asta:

function DespawnVehicle(carid) {
	new dbid = FindSpawnID(carid);
	if(CarInfo[dbid][Spawned] != 0 && !IsVehicleOccupied(CarInfo[dbid][Spawned])) DestroyPlayerCar(dbid);
	printf("Vehicle %d despawned. [db: %d]", carid, dbid);
	return 1;
}

Iar problema cu despawnatul masinii se va remedia.

 

(!) Masina tot se respawneaza, doar ca nu se mai respawneaza cand este in folosinta.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...