Guest User

reidas

a guest
Oct 23rd, 2011
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. //============================================================================//
  2. /*
  3. Reido sistema v1.0
  4. by estylO
  5.  
  6. Pakeitęs kreditus, scripto autoriumi netapsi
  7. */
  8. //============================================================================//
  9. #include < a_samp >
  10. #include < zcmd >
  11. //============================================================================//
  12. enum Zaidejas
  13. {
  14. Darbas
  15. }
  16. new pData[MAX_PLAYERS][Zaidejas];
  17.  
  18.  
  19. /* Stock */
  20. stock GautiVarda(playerid)
  21. {
  22. new
  23. vardas[ 24 ]
  24. ;
  25.  
  26. GetPlayerName( playerid, vardas , 24 );
  27. return vardas;
  28. }
  29.  
  30. /* Komandos */
  31. COMMAND:reidas( playerid, params[ ] )
  32. {
  33. if(pData [ playerid ] [ Darbas ] == 1 )
  34. {
  35. SendClientMessage(playerid, -1, "[REIDAS] Negalite kurti reido");
  36. }
  37. else
  38. {
  39. new string[100];
  40. CreateObject(3578, 2082, 41.799999237061, 26.10000038147, 0, 0, 0);
  41. CreateObject(3578, 2092.3000488281, 41.799999237061, 26.10000038147, 0, 0, 0);
  42. CreateObject(3578, 2102.6000976563, 41.799999237061, 26.10000038147, 0, 0, 0);
  43. CreateObject(3578, 2112.8999023438, 41.799999237061, 26.10000038147, 0, 0, 0);
  44. CreateObject(3578, 2123.1999511719, 41.799999237061, 26.10000038147, 0, 0, 0);
  45. CreateObject(997, 2129.3000488281, 41.700000762939, 25.299999237061, 0, 0, 0);
  46. CreateObject(997, 2133.1000976563, 41.700000762939, 25.299999237061, 0, 0, 0);
  47. CreateObject(1215, 2128.6999511719, 41.700000762939, 25.89999961853, 0, 0, 0);
  48. CreateObject(1215, 2132.8000488281, 41.700000762939, 25.89999961853, 0, 0, 0);
  49. CreateObject(1215, 2136.8000488281, 41.700000762939, 25.89999961853, 0, 0, 0);
  50. CreateObject(1215, 2126.6999511719, 46.900001525879, 25.89999961853, 0, 0, 0);
  51. CreateObject(1215, 2126.6999511719, 36.400001525879, 25.89999961853, 0, 0, 0);
  52. CreateObject(12887, 2067.578125, 40.8671875, 29.296875, 0, 0, 0);
  53. format(string,sizeof(string),"{FFFFFF}[ {00FF40}> {FFFFFF}] Policininkas {FFA2E5}%s {FFFFFF}įjungė reido rėžimą",GautiVarda(playerid));
  54. SendClientMessageToAll(0xFFFFFAA,string);
  55. }
  56. return 1;
  57. }
  58.  
Advertisement
Add Comment
Please, Sign In to add comment