Advertisement
Guest User

Untitled

a guest
Nov 4th, 2017
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. CMD:grudvanje( playerid, params[] ) {
  2.  
  3. #if ZIMSKI_MOD == 1
  4. if( !Snow_F[ playerid ] ) {
  5.  
  6. if( !IsPlayerInRangeOfPoint( playerid, 3.0, 511.7566, -1511.0818, 14.5677 ) ) return GRESKA( playerid, "Morate biti kod ulaza zgrade u arenu za grudvanje(Pitajte Admin-a/Supporter-a gde je)." );
  7.  
  8. new rand = random( sizeof( RandomGrudvanje ) );
  9. Roby_SetPlayerPos( playerid, RandomGrudvanje[ rand ][ 0 ], RandomGrudvanje[ rand ][ 1 ], RandomGrudvanje[ rand ][ 2 ] );
  10.  
  11. Snow_F[ playerid ] = true;
  12. Charged[ playerid ] = 0;
  13. Shoot[ playerid ] = 0;
  14.  
  15. AlreadyShooted[ playerid ] = true;
  16. SetTimerEx( "SkiniSnegGrudavnje", 2000, false, "i", playerid );
  17.  
  18. SCM( playerid, -1, "{A9C4E4}(Grudvanje): "col_white"Zapoceo si grudavanje.");
  19. SCM( playerid, -1, "{A9C4E4}(Grudvanje): "col_white"Tvoj cilj je da pogodis sto vise ljudi, a da oni tebe ne pogode!");
  20. SCM( playerid, -1, "{A9C4E4}(Grudvanje): "col_white"Da napravis grudvu pa posle i pogodis nekog koristi {A9C4E4}DESNI KLIK MISA.");
  21. SCM( playerid, -1, "{A9C4E4}(Grudvanje): "col_white"Ako zelis da izadjes unesi opet {A9C4E4}/grudvanje.");
  22. }
  23. else if( Snow_F[ playerid ] ) {
  24.  
  25. Snow_F[ playerid ] = false;
  26.  
  27. Roby_SetPlayerPos( playerid, 511.7566, -1511.0818, 14.5677 );
  28. SetPlayerFacingAngle( playerid, 360.000 );
  29. SetCameraBehindPlayer( playerid );
  30. SetPlayerInterior( playerid, 0 );
  31. SetPlayerVirtualWorld( playerid, 0 );
  32.  
  33. SCM( playerid, -1, "{A9C4E4}(Grudvanje): "col_white"Izasli ste iz arene za grudvanje." );
  34. }
  35. #else
  36. GRESKA( playerid, "Nije zimski period, tako da se ne mozete grudvati!");
  37. #endif
  38. return true;
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement