OnPlayerEditAttachedObject - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerEditAttachedObject (
/showthread.php?tid=386127)
OnPlayerEditAttachedObject -
Edix - 19.10.2012
I cant get it working for some reason.
after I finish attaching the object it does say "Attached object edition saved." -- "Attached object edition not saved."
I copied and pasted the same thing exactly.
https://sampwiki.blast.hk/wiki/OnPlayerEditAttachedObject
this is my script:
http://pastebin.com/rPxpgWDG
Please help me!
Re: OnPlayerEditAttachedObject -
Edix - 20.10.2012
Can anyone please hlep?
Re: OnPlayerEditAttachedObject -
CadSives - 20.10.2012
I don't have very much knowledge about player attached objects, but I came across an important note on the samp wiki. "Editions should be discarded if response was '0' (cancelled). This must be done by storing the offsets etc. in an array BEFORE using EditAttachedObject." Hope this helps you find a solution to your problem.
Re: OnPlayerEditAttachedObject -
Edix - 20.10.2012
This doesnt help me as I dont really understand what it means.
Re: OnPlayerEditAttachedObject -
Red_Dragon. - 20.10.2012
Download the sa-mp 0.3e server package you will find a file called attachments.pwn and attachments.amx also use them in your script VERY USEFUL in my opinion
Re: OnPlayerEditAttachedObject -
Edix - 21.10.2012
Thank you very much!
You were the most helpful person on this forum
Actually its already in my fliterscripts and it still doesnt work for me.
Do you mind helping me understand this a little more? and see if my script is ok?