18.11.2009, 21:43
its Very Simple 
changing the return 0; 's to 1's worked a bit better, he hitted 3 times working...

Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/opene69", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid, 7.0, -1523.627808, 481.981415, 6.207134)) { MoveObject(Agate, -1535.559692, 481.989716, 6.179688, 2.00); SendClientMessage(playerid, COLOR_RED, "Gate Opened Automaticly"); } return 1; } if (strcmp("/closee69", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid, 7.0, -1523.627808, 481.981415, 6.207134)) { MoveObject(Agate, -1523.627808, 481.981415, 6.207134, 2.00); SendClientMessage(playerid, COLOR_RED, "Gate Closed Automaticly"); } return 1; } return 1; }