SA-MP Forums Archive
Problem with /sit and /sleep - 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: Problem with /sit and /sleep (/showthread.php?tid=370801)



Problem with /sit and /sleep - [LSG]Lil_Familie - 21.08.2012

i got a problem if i type /sit infront of he couch he doesnt sit exactly on the couch he sits in the air infront of it here's the code the same thing is with /sleep

Код:
if (strcmp("/sit", cmdtext, true, 10) == 0)
    {
         ApplyAnimation(playerid,"ped","SEAT_down",4.1,0,1,1,1,1);
         return 1;
    }



Re: Problem with /sit and /sleep - detter - 21.08.2012

Try some diffrent animation


AW: Problem with /sit and /sleep - [LSG]Lil_Familie - 21.08.2012

its not working with any anim i tried


Re : Problem with /sit and /sleep - ricardo178 - 21.08.2012

That's because the couch is solid, which doesn't allow you to sit "Inside" it...


AW: Problem with /sit and /sleep - [LSG]Lil_Familie - 21.08.2012

But on some servers i played they could sit on it Hmmm


AW: Problem with /sit and /sleep - [LSG]Lil_Familie - 22.08.2012

Anyone?

edit: sry for double post and bumping i didnt see its only allowed after 24 hours


AW: Problem with /sit and /sleep - [LSG]Lil_Familie - 23.08.2012

anyone can help me?


Re: Problem with /sit and /sleep - Shetch - 23.08.2012

That's a triple post there, bro.
I suggest that you stop bumping your thread so much.

If you get no answer, that means people don't know how to help you out.


Re: Problem with /sit and /sleep - kbalor - 23.08.2012

Here. Hope this helped.

Код:
ApplyAnimation(playerid, "PED", "SEAT_idle", 1.0, 1, 0, 0, 0, 0);