idk how to do MoveObject For This.
#5

simple
Код:
new  elevator;
and
Код:
 elevator = CreateObject(2669, 1783.5, 2848.3999023438, 11.199999809265, 0, 0, 308); //Elevator actual position
now main thing
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/up",true)==0)//lift
{
MoveObject(lift, POST YOUR CODES HERE); // paste your code here
return 1;
}
if(strcmp(cmdtext,"/down",true)==0)//lift
{
MoveObject(lift, 1783.5, 2848.3999023438, 11.199999809265);
return 1;
}
return 0;
}
you can also put client message
Код:
SendClientMessage(playerid,your color here,"your message here!");
Reply


Messages In This Thread
idk how to do MoveObject For This. - by kesem140599 - 16.08.2012, 14:06
Re: idk how to do MoveObject For This. - by BigGroter - 16.08.2012, 14:42
Re: idk how to do MoveObject For This. - by kesem140599 - 16.08.2012, 14:53
Re: idk how to do MoveObject For This. - by BigGroter - 16.08.2012, 15:15
Re: idk how to do MoveObject For This. - by Anak - 16.08.2012, 15:19

Forum Jump:


Users browsing this thread: 3 Guest(s)