SA-MP Forums Archive
/sit command - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /sit command (/showthread.php?tid=90200)



/sit command - sandisk125 - 06.08.2009

how can i make a /sit command on my script?


Re: /sit command - Memoryz - 06.08.2009

USE THE SEARCH BUTTON!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!

IT HAS BEEN OVER 6 TIMES YOU DID THIS IN ONE DAY!!!!!!!

THIS HAS BEEN ANSWERED ALREADY!!!!!!!!

STOP!!!!!!!!

ALL OF YOUR POSTS CAN BE ANSWERED BY USING THE DAMN SEARCH BUTTON!

FFS http://forum.sa-mp.com/index.php?action=search


http://forum.sa-mp.com/index.php?topic=115052.0
http://forum.sa-mp.com/index.php?topic=115060.0
http://forum.sa-mp.com/index.php?topic=115059.0


Re: /sit command - Criss_Angel - 06.08.2009

Код:
If(strcmp(cmdtext,"/sit", true) == 0)
{
// Play The Anim here 
return 1;
}



Re: /sit command - Memoryz - 06.08.2009

FFS let the guy search!

He's been doing this the whole day!


Re: /sit command - sandisk125 - 06.08.2009

that's the problem,i don't know how to play an anim in the pawno.


Re: /sit command - AleksandarAdzic - 06.08.2009

If(strcmp(cmdtext,"/sit", true) == 0)
{
ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_Idle B",4.0,0,0,0,1,1);
return 1;
}

Here you go dude. Dont be too hard over this guy, he just started to script. We all were at that point i guess.


Re: /sit command - AcId n RaPiD - 06.08.2009

pawn Код:
If(strcmp(cmdtext,"/sit", true) == 0)
{
   ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_IdleB",4.0,0,0,0,1,1);
   return 1;
}
^^^
||||||

You put that under OnPlayerCommandText


Re: /sit command - sandisk125 - 06.08.2009

thank you dude


Re: /sit command - AleksandarAdzic - 06.08.2009

No problems, i will help you any time


Re: /sit command - sandisk125 - 06.08.2009

i have sent to you a PM.
wanna be my buddy?