SA-MP Forums Archive
object not showing - 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: object not showing (/showthread.php?tid=455412)



object not showing - kaos999 - 01.08.2013

i jus created a object using map editor and i added it to my script but when i complie it does not show in game
pawn Код:
CreateObject(955, 2432.61475, -1662.50354, 22.76187,   0.00000, 0.00000, 0.00000);
BTW THE OBJECT IS soda machine (sprunk)

ANY IDEA'S


Re: object not showing - Yashas - 01.08.2013

Is it visible in the map editor??And is it above the surface??And are you looking for the object at the X,Y,Z coordinates you have given??


Re: object not showing - Tuntun - 01.08.2013

If your are trying to add to many objects than convert it to CreateDynamicObject


Re: object not showing - kaos999 - 01.08.2013

YH IT IS VISABLE IN THE MAP EDITOR BUT WHEN I ADD IT 2 MY SCRIPT THEN ITS NOT THERE
AND ALSO CAN I RESPAWN OBJECTS LIKE vehicles
pawn Код:
AddStaticVehicleEx
becasue i added an explosive barrel but after it explodes it disapears and does not come bak


Re: object not showing - kaos999 - 01.08.2013

Quote:
Originally Posted by Tuntun
Посмотреть сообщение
If your are trying to add to many objects than convert it to CreateDynamicObject
NOPE I EVEN TOOK OFF IM ALL THE OTHER OBJECTS AND JUST ADDED THIS
IS IT EVEN ALLOWED ITS A NORMAL SPRUNK VENDING MACHINE


AW: object not showing - BigETI - 01.08.2013

Lower your caps, please. How many objects do you have on your map?


Re: object not showing - park4bmx - 01.08.2013

Check if the line before/after creating the object is called


Re: AW: object not showing - kaos999 - 01.08.2013

Like about 4-5 and can u answer this question please:
YH IT IS VISABLE IN THE MAP EDITOR BUT WHEN I ADD IT 2 MY SCRIPT THEN ITS NOT THERE
AND ALSO CAN I RESPAWN OBJECTS LIKE vehicles
pawn Код:
AddStaticVehicleEx
becasue i added an explosive barrel but after it explodes it disapears and does not come bak


Re: object not showing - park4bmx - 01.08.2013

it does come back if you teleport out of its streaming distance and then come back it will be there again


Re: object not showing - kaos999 - 01.08.2013

hmm ok i will try that thanks
and the vending machine thing i added but i cant use(dont think you can add drinkable vending machines) but it dont matter