Guest User

Untitled

a guest
Jul 16th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. if(IsPlayerInRangeOfPoint(playerid, 5.0 ,-2124.9199, -2356.8701, 17.1391 ))
  2. {
  3. if(playerDB[playerid][specialybe] == 1 || playerDB[playerid][admin] >= 4)
  4. {
  5. if(!Vartai[14])
  6. {
  7. MoveDynamicObject( faruvartai, -2124.9199, -2356.8701, 17.1391, 5.0, 0.0000, 0.0000, 51.5000 );
  8. GameTextForPlayer(playerid, "~G~ Atidarote vartus!", 3000, 5);
  9. Vartai[14] = true;
  10. }
  11. else
  12. {
  13. MoveDynamicObject( faruvartai, -2124.9199, -2356.8701, 20.6350, 5.0, 0.0000, 0.0000, 51.5000 );
  14. GameTextForPlayer(playerid, "~R~ Uzdarote vartus!", 3000, 5);
  15. Vartai[14] = false;
  16. }
  17. }
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment