CreateDynamicObjectEx help
#1

Код:
    housedjord = CreateDynamicObjectEx(19378,247.573,-1848.020,3332.277,0.000,90.000,0.000,300.000,300.000);
    SetDynamicObjectMaterial(housedjord, 0, 18031, "cj_exp", "mp_furn_floor", 0x00000000);
How do I change the object to interior 1?
Reply
#2

Quote:
Originally Posted by MrFantasy
Посмотреть сообщение
Код:
    housedjord = CreateDynamicObjectEx(19378,247.573,-1848.020,3332.277,0.000,90.000,0.000,300.000,300.000);
    SetDynamicObjectMaterial(housedjord, 0, 18031, "cj_exp", "mp_furn_floor", 0x00000000);
How do I change the object to interior 1?
What do you exactly mean by changing the object to interior 1?
Reply
#3

Quote:
Originally Posted by Inceptio
Посмотреть сообщение
What do you exactly mean by changing the object to interior 1?
Код:
	cityhall = CreateDynamicObject(19377,938.843,-5.012,1500.938,0.000,90.000,0.000, .interiorid = 1);
	SetDynamicObjectMaterial(cityhall, 0, 14581, "ab_mafiasuitea", "cof_wood2", 0);
Like that, but how do i do that for CreateDynamicObjectEx? The object will be placed in interior something.
Reply
#4

Quote:

CreateDynamicObjectEx(modelid, Float, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Floattreamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, areas[] = { -1 }, priority = 0, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players, maxareas = sizeof areas)

Код:
housedjord = CreateDynamicObjectEx(19378,247.573,-1848.020,3332.277,0.000,90.000,0.000,300.000,300.000, -1, 1);
__________________________________________________________________________________________________________^_^
-----------------------------------------------------------------------------------------------------World---Interior
SetDynamicObjectMaterial(housedjord, 0, 18031, "cj_exp", "mp_furn_floor", 0x00000000);
Reply
#5

Quote:
Originally Posted by gurmani11
Посмотреть сообщение
Код:
housedjord = CreateDynamicObjectEx(19378,247.573,-1848.020,3332.277,0.000,90.000,0.000,300.000,300.000, -1, 1);
__________________________________________________________________________________________________________^_^
-----------------------------------------------------------------------------------------------------World---Interior
SetDynamicObjectMaterial(housedjord, 0, 18031, "cj_exp", "mp_furn_floor", 0x00000000);
Код:
C:\Users\Brain\Desktop\The Real One\filterscripts\mapping.pwn(3447) : error 035: argument type mismatch (argument 10)
Reply
#6

oh crap, set world to Zero 0
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)