Quote:
Originally Posted by mobiliz
like
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 1293.5813,-1020.5617,1085.9760)) { if(newkeys & KEY_SECONDARY_ATTACK) { if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an SAPD Officer."); ApplyAnimation(playerid, "HEIST9", "Use_SwipeCard", 4.0, 0, 0, 0, 0, 0); { if(pddoor1opened == false) { MoveDynamicObject(pddoor1, 1294.01, -1021.09, 1084.99, 0.50); pddoor1opened = true; return 1; } else { MoveDynamicObject(pddoor1, 1292.85, -1021.09, 1084.99, 0.50); pddoor1opened = false; return 1; } }
} }
|
Dude! thats totally a wrong way! it wont fix a shit