Mapping HELP
#1

PHP код:
object CreateDynamicObject(19390,1990.258300,1115.898437,23.251277,0.000000,0.000000,90.000000,0,0, -1200.0200.0);
SetDynamicObjectMaterial(object012931"sw_brewery""sw_brewbrick01"0);
object CreateDynamicObject(19378,1989.983032,1120.623901,21.429975,0.000000,270.000000,0.000000,0,0, -1200.0200.0);
SetDynamicObjectMaterial(object03305"des_bighus""GB_nastybar08"0);
object CreateDynamicObject(19361,1991.905151,1117.513916,23.250453,0.000000,0.000000,0.000000,0,0, -1200.0200.0);
SetDynamicObjectMaterial(object012931"sw_brewery""sw_brewbrick01"0);
object CreateDynamicObject(19390,1991.905029,1120.724609,23.251277,0.000000,0.000000,180.000000,0,0, -1200.0200.0); 
How can I add this mapping it gives me undefined symbol object.. includes are updated as 0.3.7
Reply
#2

make it like that
PHP код:
new object CreateDynamicObject(19390,1990.258300,1115.898437,23.251277,0.000000,0.000000,90.000000,0,0, -1200.0200.0); 
Reply
#3

Quote:
Originally Posted by JasonRiggs
Посмотреть сообщение
make it like that
PHP код:
new object CreateDynamicObject(19390,1990.258300,1115.898437,23.251277,0.000000,0.000000,90.000000,0,0, -1200.0200.0); 
You can't always use new object in every object,

OT: Try this one,
PHP код:
new object[5]; // the amount of arrays in Object variable are 5, Increase it if you need more objects
object[1] = CreateDynamicObject(19390,1990.258300,1115.898437,23.251277,0.000000,0.000000,90.000000,0,0, -1200.0200.0);
SetDynamicObjectMaterial(object[1], 012931"sw_brewery""sw_brewbrick01"0);
object[2] = CreateDynamicObject(19378,1989.983032,1120.623901,21.429975,0.000000,270.000000,0.000000,0,0, -1200.0200.0);
SetDynamicObjectMaterial(object[2], 03305"des_bighus""GB_nastybar08"0);
object[3]= CreateDynamicObject(19361,1991.905151,1117.513916,23.250453,0.000000,0.000000,0.000000,0,0, -1200.0200.0);
SetDynamicObjectMaterial(object[3], 012931"sw_brewery""sw_brewbrick01"0);
object[4] = CreateDynamicObject(19390,1991.905029,1120.724609,23.251277,0.000000,0.000000,180.000000,0,0, -1200.0200.0); 
Reply
#4

Quote:
Originally Posted by FuNkYTheGreat
Посмотреть сообщение
You can't always use new object in every object
I thought they are all in different places, That's why, Your method will work yeah.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)