Object post help
#1

Hello Everyone!
I have a question if i define this in ongamemodeinit then how can i get pos of that object ?
PHP код:
ObjectInfo[0][objID] = CreateDynamicObject(18292474.8232422363.094726, -52.62166900270, .drawdistance 50.0); 
Reply
#2

pawn Код:
new Float: o_x, Float: o_y, Float: o_z;
GetDynamicObjectPos(ObjectInfo[0][objID], o_x, o_y, o_z);
Reply
#3

same for Rotations ?
Reply
#4

Use GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz);

Check the streamer wiki on GitHub out when not sure about all this: https://github.com/samp-incognito/sa...er-plugin/wiki
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)