18.01.2019, 15:32
PHP код:
public CloseGatebm(playerid) {
if(IsPlayerInRangeOfPoint(playerid, 7.0, -2147.4783, -2333.9846, 33.9485)) {
if(GetPlayerSkin(playerid) == 287) {
MoveObject(Gatebm, -2147.4783, -2333.9846, 17.0806,3.0);
SetTimerEx("CloseGate2bm", 10000, false, "i", Gatebm);
}
}
return 1;
}