Command issue
#2

Try this

Код:
}
if (strcmp("/mdelevator", cmdtext, true, 10) == 0)
{
if (PlayerToPoint(26, playerid,1148.358032,-1315.570678,24.000000))
if(MDElevatorstatus)
{
MoveObject(MDElevator, 1148.358032,-1315.570678,31.79 , 2);
MDElevatorstatus = 0;
}
else
{
MoveObject(MDElevator, 1148.358032,-1315.570678,14 , 2);
MDElevatorstatus = 1;
}
return 1;
}

if (strcmp("/enter", cmdtext, true, 10) == 0)
{
if (PlayerToPoint(3.0,playerid,1173.0345,-1323.7742,15.3973))
{
SetPlayerPos(playerid,1174.5543,-1310.0366,-4.9240);

}
return 1;
}
}
return 0;
}
Reply


Messages In This Thread
Command issue - by Shinzei_Banzai - 24.09.2009, 17:53
Re: Command issue - by MB@ - 24.09.2009, 17:55
Re: Command issue - by Shinzei_Banzai - 24.09.2009, 18:07
Re: Command issue - by DracoBlue - 24.09.2009, 18:09
Re: Command issue - by Peter_Corneile - 24.09.2009, 18:14
Re: Command issue - by Shinzei_Banzai - 24.09.2009, 18:27
Re: Command issue - by DracoBlue - 24.09.2009, 18:33
Re: Command issue - by Sznupek - 24.09.2009, 18:37
Re: Command issue - by Peter_Corneile - 24.09.2009, 18:40
Re: Command issue - by Sznupek - 24.09.2009, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)