30.11.2011, 11:29
It doens't work .. my previous gates worked !
Quote:
if (strcmp("/openniels", cmdtext, true, 10) == 0) { if (Player[playerid][Group] == 15) { if (IsPlayerInRangeOfPoint(playerid, 15, 264.10000610,-1333.09997559,55.00000000)) { MoveObject(gateniels , 264.10000610,-1333.09997559,49.29999924, 1); } else { SendClientMessage(playerid, RED, "You are not closed enough to open this gate"); } } return 1; } |