06.10.2016, 16:13
Create area in this place.
Код:
if( response == EDIT_RESPONSE_FINAL ) { if( !IsPointInDynamicArea(areaid), x, y, z) ) { SendClientMessage(playerid, -1, "You can't move this object here."); SetDynamicObjectPos(objectid, oldX, oldY, oldZ); SetDynamicObjectRot(objectid, oldRotX, oldRotY, oldRotZ); return 1; } }