SA-MP Forums Archive
Please help me - 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: Please help me (/showthread.php?tid=619974)



Please help me - jhonloyd20 - 24.10.2016

Anyone Help me with my Problem
add me in skype : johnloyd.cantre

need help please I need to save this Object
in the vehicle


Re: Please help me - ChristolisTV - 24.10.2016

Show us code, I can't help you if you don't show code. :P


Re: Please help me - jhonloyd20 - 24.10.2016

Quote:
Originally Posted by ChristolisTV
Посмотреть сообщение
Show us code, I can't help you if you don't show code. :P
This is the code sir


Re: Please help me - jhonloyd20 - 24.10.2016

Quote:
Originally Posted by ChristolisTV
Посмотреть сообщение
Show us code, I can't help you if you don't show code. :P
Sir Chris Help me

// :
new myobject = CreateObject(19419,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(myobject, GetPlayerVehicleID(playerid), -0.000000,-0.225000,0.824999,0.000000,0.000000,0.000000);

// :
new myobject = CreateObject(914,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(myobject, GetPlayerVehicleID(playerid), 0.000000,0.750000,0.675000,56.700012,91.799980,0.0 00000);

// :
new myobject = CreateObject(914,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(myobject, GetPlayerVehicleID(playerid), -0.075000,-1.124999,0.750000,124.199951,89.099983,0.000000);

// :
new myobject = CreateObject(19601,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(myobject, GetPlayerVehicleID(playerid), 0.000000,2.775001,-0.225000,0.000000,0.000000,180.899887);

where i save that script?


Re: Please help me - Skimmer - 24.10.2016

You can save your object informations in a INI file using this include.

https://sampforum.blast.hk/showthread.php?tid=570957

PHP код:
new INI:ini INI_Open("object.ini");
INI_WriteString(ini"objectid"the_objectid);
INI_WriteString(ini"objectX"the_objectX);
...