24.07.2009, 20:55
pawn Код:
if(!strcmp(cmdtext,"/open",true))
{
if(!PlayerToPoint(distance,playerid,x,y,z))
return SendClientMessage(playerid,color,"You have to stand near a moving gate.");
MoveObject(objectid,x,y,z);
return SendClientMessage(playerid,color,"Gate opened.");
}