SA-MP Forums Archive
unused houses spawnning in blueberry - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: unused houses spawnning in blueberry (/showthread.php?tid=440650)



unused houses spawnning in blueberry - matthew1211 - 30.05.2013

all the unsued houses in my server are spawning in blueberry


Re: unused houses spawnning in blueberry - Chriham3 - 30.05.2013

Create a check to see if the coordinates are 0.00, 0.00, 0.00

In example:

pawn Код:
if(HouseInfo[houseid][ExteriorX] != 0 &&
HouseInfo[houseid][ExteriorY] != 0 &&
HouseInfo[houseid][ExteriorZ] != 0)
{
// create house
}
Obviously edit it to whatever variables you use for the houses.


Re: unused houses spawnning in blueberry - V415 - 01.06.2013

And dont use the PLA script.


Re: unused houses spawnning in blueberry - tboysamp - 01.06.2013

I'm assuming you're using NGG script, just set the maximum amount of houses, pickups, mapicons, etc. to a lower limit which would cause FPS lag but not crash.

A better thing is to prevent them from being created if they're not being used in the first place, if you don't know how to then don't bother asking because you should move on to a simple script and learn from it.


Re: unused houses spawnning in blueberry - GTAPoliceOfficer - 01.06.2013

Make Sure they are mapped and scripted in correctly!