[Need Script]I want to make /Stair Command
#1

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

Like




I need Code
Reply
#2

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

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

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

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


Forum Jump:


Users browsing this thread: 4 Guest(s)