OnPlayerEditObject not calling
#1

Hi all,
I'm having a bit of trouble with OnPlayerEditObject, it doesn't seem to call when I hit the save button on the in game object editor.

- I've updated to 0.3e and I'm not getting any compiler errors or warnings

Are there any solutions to this? I've seen scripts which use OnPlayerEditObject so I assume it's working for other people.

Thanks,

JonRB
Reply
#2

If you're editing an attached object, it's OnPlayerEditAttachedObject.
Reply
#3

I'm not. I'm using EditObject(playerid,objectid); with a valid object. The editor is displaying correctly, everything works until I click the save button or press escape, then nothing happens.
Reply
#4

Debug the callback (i.e. add prints).
Reply
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
Debug the callback (i.e. add prints).
That's exactly what I did - That's how I know it's not calling.

UPDATE: It's working on my local computer (Windows), but not on my hosted server (Linux).
UPDATE 2: If it helps, I'm loading this script after the server loads
Reply
#6

The problem seems to be that the script will not work if it is loaded after the server. Just tested it.

Is this an SA-MP bug?
Reply
#7

Bump: Is this an SA-MP bug or am I doing something wrong?
Reply
#8

J'ai le mкme problиme...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)