SA-MP Forums Archive
Smoke script (for skydiving) - 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: Smoke script (for skydiving) (/showthread.php?tid=440160)



Smoke script (for skydiving) - maximee9 - 28.05.2013

Okay so i saw this : [ame]http://www.youtube.com/watch?v=UX3VXqPWydQ[/ame]

So i wanted to try it myself.

This is what i got :
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (newkeys & KEY_ANALOG_LEFT)
    SetPlayerAttachedObject(playerid, 0, 2780, 10);
	return 1;
}
This would attach a smoke machine to my foot, which makes the same smoke as on the video but 2 times less smoke.
Is there a way to make more smoke? And to make the machine invisible? Because right now it's a big block on my foot, and that's not what i want. I tried it with some other "smoke" makers objects but nothing is like the thing in the video.

Thanks for helping and excuse me for my English.


Re: Smoke script (for skydiving) - DobbysGamertag - 28.05.2013

Try it with the tear gas


Re: Smoke script (for skydiving) - SilverKiller - 28.05.2013

I already saw that video, and made the exact smoke!

pawn Код:
SetPlayerAttachedObject(playerid, 3, 2780, 10,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0);
P.S:

Do you play in that server? if yes tell me in PM.


Re : Smoke script (for skydiving) - maximee9 - 28.05.2013

Yup that worked! thanks silverkiller. But now there is a little too much smoke when you stand still.

And no i don't play on that server because last time i checked it was down?


Re: Smoke script (for skydiving) - SilverKiller - 28.05.2013

I can't change that smoke thing when you stand .

P.S Check your pm.


Re: Smoke script (for skydiving) - DobbysGamertag - 28.05.2013

I could be wrong, but you might be able to check if the parachutes activated(animation) then remove the smoke when the animation stops(players landed)