Advertisement
mrdrifter

Untitled

Apr 1st, 2014
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1.  
  2. CMD:bazapsz(playerid, cmdtext[])
  3. {
  4. if(pInfo[playerid][player_gangID] != 56)
  5. {
  6. RankAdmin(playerid, R_HEADADMIN);
  7. }
  8.  
  9. if(!gBaseState[9])
  10. {
  11.  
  12.  
  13. MoveDynamicObject(gBase[9], 1274.3000000,-1652.1000000,4.6000000, 10.0, 0.0, 0.0, 0.0);
  14. SendClientMessage(playerid, COLOR_INFO, "{FFFFF0}* (Baza){/b} Otwieranie bazy");
  15.  
  16. gBaseState[9] = true;
  17.  
  18. }
  19. else
  20. {
  21.  
  22. MoveDynamicObject(gBase[9], 1274.3000000,-1652.1000000,12.3000000, 10.0, 0.0, 0.0, 0.0);
  23. SendClientMessage(playerid, COLOR_INFO, "{FFFFF0}* (Baza){/b} Zamykanie bazy");
  24.  
  25. gBaseState[9] = false;
  26. }
  27. return 1;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement