Smoke script (for skydiving)
#1

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.
Reply
#2

Try it with the tear gas
Reply
#3

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.
Reply
#4

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?
Reply
#5

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

P.S Check your pm.
Reply
#6

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)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)