object not showing
#1

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
Reply
#2

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??
Reply
#3

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

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
Reply
#5

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
Reply
#6

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

Check if the line before/after creating the object is called
Reply
#8

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
Reply
#9

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)