SA-MP Forums Archive
[Need Script]I want to make /Stair 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: [Need Script]I want to make /Stair Command (/showthread.php?tid=155659)



[Need Script]I want to make /Stair Command - nasirayazkhan - 19.06.2010

I want to Make /Stair Command That Makes Stair (ID 12950) Front Of Player,

Like




I need Code


Re: [Need Script]I want to make /Stair Command - Kar - 19.06.2010

if(strcmp(cmdtext, "/stairs", true) == 0){
createobject blah blah blah


Re: [Need Script]I want to make /Stair Command - nasirayazkhan - 19.06.2010

Quote:
Originally Posted by Kar
if(strcmp(cmdtext, "/stairs", true) == 0){
createobject blah blah blah
lol


Re: [Need Script]I want to make /Stair Command - [HiC]TheKiller - 19.06.2010

http://forum.sa-mp.com/index.php?topic=144062.0


Re: [Need Script]I want to make /Stair Command - killer98p - 19.06.2010

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/stairs", cmdtext, true, 10) == 0)
{
AttachObjectToPlayer( 12950, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );
return 1;
}
return 0;
}
Hope it helped you...