13.09.2017, 00:29
hello all i have a furniture script that i have been developing but i found out i cant load back my furnitures. Then i realised i can just do createobject when i buy but after buying it doesnt create dynamic object so i added this code only to check:
and yes it doesnt create an object. this is the native for createdynamicobject:
what is wrong here ?
Код:
CMD:cdo(playerid,params[]) { new Float:tpx,Float:tpy,Float:tpz; CreateDynamicObject(2078, tpx+2, tpy, tpz, 0.0, 0.0 ,0.0, 0, 0, -1,300.0, 300.0, -1, 0); return 1; }
Код:
native STREAMER_TAG_OBJECT CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);