problems with OnPlayerEditObject
#1

Problems with...
Code:
public OnPlayerEditObject
ok I have try every thing and then I found the solution load the filter script I created before the gamemode this works but it is a pain in the ass.

So what I am asking is there any way that this code could work after loading the gamemode


I have download some other peoples Filter Scripts and have seen the objects update correctly


if there is no way to get around this bug then I going to make a timer that constantly save and
objects position but I have seen it work before so help me
---------------------------------------------------------------------------------------------------------------
SOLVED
---------------------------------------------------------------------------------------------------------------
I looked around and searched forms and found,
The Reason Why it does not work is because I have a filter script that uses Streamer.
So this Simple thing to do is use streamer in my code

Code:
public OnPlayerEditDynamicObject()
and that worked

if you are going to do this make sure you also make all your objects with streamer to

like
Code:
CreateDynamicObject(objected,xfloat,yfloat,zfloat,xrotfloat,yrotfloat,zrotfloat,0);//to create object
EditDynamicObject(playerid,objectid);//to edit the object
Reply
#2

I think you might be using it wrongly.. Check out the wiki for this.
Reply
#3

no I already checked
Reply
#4

have you made a script using public OnPlayerEditObject if so can I see the part of the script you don't have to show the hole thing just add key points
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)