Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(newkeys & KEY_CROUCH || newkeys & KEY_CTRL_BACK)
- {
- if(sInfo[playerid][job] == 1)
- {
- if(IsPlayerInRangeOfPoint(playerid, 20.0, -3882.7348600,-2028.2948000,6.2786000))
- {
- if(gate == false)
- {
- MoveObject(pdvartai1, -3868.9075, -2028.3229, 6.2582, 2.0);
- MoveObject(pdvartai2, -3888.5999, -2028.3077, 6.2786, 2.0);
- gate = true;
- }
- else
- {
- MoveObject(pdvartai1, -3874.8147000,-2028.3034700,6.2582000, 2.0);
- MoveObject(pdvartai2, -3882.7348600,-2028.2948000,6.2786000, 2.0);
- gate = false;
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment