Saving Player Attached Objects - 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: Saving Player Attached Objects (
/showthread.php?tid=303987)
Saving Player Attached Objects -
BetaLaxx - 16.12.2011
Okay, So When A Player Spawns He Has A Little Backpack On His Spine, But on relog he loses it, So i want to know how can i save Player attached objects.
I've tried to but i think i failed, Sorry For My Bad Coding LOL, On Player Spawn The Object he was wearing last time gets attached to him again, How?:
pawn Code:
INI_WriteFloat( File, "Object1",PlayerInfo[playerid][pObject1]);
Re: Saving Player Attached Objects -
HitterHitman - 01.03.2014
BUMP Same question please help, Can someone post a code to save and load attached objects?
EDIT: I know it is too old, but i need to know how to save or load every attached object.
Re: Saving Player Attached Objects -
Beckett - 01.03.2014
Save the object model.
Object POS(3)
Object index.
etc.
Then when he spawns attach it.
Re: Saving Player Attached Objects -
HitterHitman - 02.03.2014
Please can you give me a example of saving and loading 2 attachments?
Re: Saving Player Attached Objects -
arlindi - 13.08.2014
And i need this
Re: Saving Player Attached Objects -
fatlirmorina - 07.01.2015
Bump
Re: Saving Player Attached Objects -
Sid_Alexander - 07.01.2015
Lol, This is my buddies friend, He's inactive.
@Fatlir, You want to save the object through Y_INI or something else?