16.08.2012, 15:19
simple
and
now main thing
you can also put client message
Код:
new elevator;
Код:
elevator = CreateObject(2669, 1783.5, 2848.3999023438, 11.199999809265, 0, 0, 308); //Elevator actual position
Код:
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; }
Код:
SendClientMessage(playerid,your color here,"your message here!");