22.06.2010, 12:12
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/liftdown", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1446.90234375, -1420.13671875, 12.48984527))
{
MoveObject(lift, 1446.90234375, -1420.13671875, 12.48984527, 1.50);//
}
return 1;
}
if (strcmp("/liftup", cmdtext, true, 10) == 0)//line 125
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1446.90234375, -1420.13671875, 23.98984527))
{
MoveObject(lift, 1446.90234375, -1420.13671875, 23.98984527, 1.50);//
}
return 1;
}
return 0;
}

