SA-MP Forums Archive
Help in several stuff - 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: Help in several stuff (/showthread.php?tid=411122)



Help in several stuff - TiggaNigga - 27.01.2013

Hello, I'm a newbie and I would like to find help in the following stuff:

1st, I wanted to know how I could put the owned cars spawning only when the players spawn.
E.G: I bought a car and I relog, when I /q the owned car is destroyed, when I spawn, it auto creates the owned vehicle.


I'm using a Ravens' edit
pawn Код:
enum cInfo
{
    cModel,
    Float:cLocationx,
    Float:cLocationy,
    Float:cLocationz,
    Float:cAngle,
    cColorOne,
    cColorTwo,
    cOwner[MAX_PLAYER_NAME],
    cOwned,
    cLock,
    cPaintjob,
    cVirWorld,
    cPlate[15],
    cComponent0,
    cComponent1,
    cComponent2,
    cComponent3,
    cComponent4,
    cComponent5,
    cComponent6,
    cComponent7,
    cComponent8,
    cComponent9,
    cComponent10,
    cComponent11,
    cComponent12,
    cComponent13,
};

new CarInfo[600][cInfo];

2nd: I would like how do I attach objects to the players skin, Like glasses, bags and so on.

3rd: I would like how do I attach objects to cars.

4th: I would like to know how do I make the cannabis' flowers burn, smth like Truth's mission in SP.


If someone knows, please teach me.


Re: Help in several stuff - Biess - 27.01.2013

https://sampwiki.blast.hk/wiki/AttachObjectToVehicle

https://sampwiki.blast.hk/wiki/AttachPlayerObjectToPlayer


Re: Help in several stuff - TiggaNigga - 27.01.2013

Thank you but I don't know the coords.


Re: Help in several stuff - TiggaNigga - 09.02.2013

up