29.04.2011, 13:23
Quote:
SetDynamicObjectRot( pdbarriergateobj, 0.0000, 90.0000, 90.0000); SetDynamicObjectPos( pdbarriergateobj, 1544.682495, -1630.980000, 13.215000 ); |
Quote:
else if(IsPlayerInRangeOfPoint(playerid,9,1544.4913,-1627.2817,13.382) { //POLICE BAR if(!IsACop(playerid)) return SendClientMessage(playerid,COLOR_GREY," You do not have a remote to open that!"); if(pdgatebar==0) { pdgatebar = 1; SetDynamicObjectRot( pdbarriergateobj, 0.0000, 360.0000, 90.0000); MoveDynamicObject(pdbarriergateobj, 1544.682495, -1630.953003, 13.079567, 1.50 ); } else if(pdgatebar==1) { pdgatebar = 0; SetDynamicObjectRot(pdbarriergateobj, 0.0000, 90.0000, 90.0000); MoveDynamicObject(pdbarriergateobj, 1544.682495, -1630.980000, 13.215000, 1.50 ); } } |