server not show dynamic object
#1

i put in the correct command and it didn't apply in the coordinate i put in
Reply
#2

I don't understand, to show dynamic objects you need a plugin and an include, and you need also to convert the objects to the streamer's format
Reply
#3

post here code
Reply
#4

stock Creatfz(Object,Float,Float:y,Float:z,Float:Angle ,pid)//put object down
{
for(new i = 0; i < sizeof(ObjInfo); i++)
{
if(ObjInfo[i][hOwned] == 0)
{
ObjInfo[i][hOwned] = 1;
ObjInfo[i][objx] = x;
ObjInfo[i][objy] = y;
ObjInfo[i][objz] = z;
ObjInfo[i][objid] = Object
CreateObject(Object, x, y, z, 0, 0, Angle);
OnPropUpdate(5,i);
ObjInfo[i][objx] = x;
ObjInfo[i][objy] = y;
ObjInfo[i][objz] = z;
new name[MAX_PLAYER_NAME+1], string[24+MAX_PLAYER_NAME+1];
GetPlayerName(pid, name, sizeof(name));
strmid(ObjInfo[i][hOwner],name,0,strlen(name),255);
new PropertyString[128];
format(PropertyString,sizeof(PropertyString),"{FFF FFF}Owner: %s\n {FFFFFF}ID: [{33FF00}%d] \n {FF0000}price: {FF00CC}$%d \n {FFFFFF}des: %s",ObjInfo[i][hOwner],i, ObjInfo[i][hValue],ObjInfo[i][hDiscription]);
objLabel[i] = Create3DTextLabel(PropertyString ,0x00FF00AA,ObjInfo[i][objx], ObjInfo[i][objy], ObjInfo[i][objz],25, 0, 1);
return 1;
}
}
return 0;
}
Reply
#5

I actually don't see any CreateDynamicObject (you used CreateObject) or CreateDynamic3DTextLabel (you use Create3DTextLabel).
Reply
#6

ok, my command is: CreateDynamicObject(980, 250.60, 58.59, 1005.20, 0.00, 0.00, 90.00,0);//for example

this coordinate is in LS police department. i get in and didn't see any object, for make sure i m at the right coordinate, i use command /xgoto(A command i made can send player to X,Y,Z coordinate) I GOT send to the coordinate and it is still blank
Reply
#7

pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0);
These are the correct parameters to the native "CreateDynamicObject". Are you sure you're in the same virtual world as the Object's ?
Reply
#8

make sure you have streamer plugins
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)