Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:grudvanje( playerid, params[] ) {
- #if ZIMSKI_MOD == 1
- if( !Snow_F[ playerid ] ) {
- 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)." );
- new rand = random( sizeof( RandomGrudvanje ) );
- Roby_SetPlayerPos( playerid, RandomGrudvanje[ rand ][ 0 ], RandomGrudvanje[ rand ][ 1 ], RandomGrudvanje[ rand ][ 2 ] );
- Snow_F[ playerid ] = true;
- Charged[ playerid ] = 0;
- Shoot[ playerid ] = 0;
- AlreadyShooted[ playerid ] = true;
- SetTimerEx( "SkiniSnegGrudavnje", 2000, false, "i", playerid );
- SCM( playerid, -1, "{A9C4E4}(Grudvanje): "col_white"Zapoceo si grudavanje.");
- SCM( playerid, -1, "{A9C4E4}(Grudvanje): "col_white"Tvoj cilj je da pogodis sto vise ljudi, a da oni tebe ne pogode!");
- SCM( playerid, -1, "{A9C4E4}(Grudvanje): "col_white"Da napravis grudvu pa posle i pogodis nekog koristi {A9C4E4}DESNI KLIK MISA.");
- SCM( playerid, -1, "{A9C4E4}(Grudvanje): "col_white"Ako zelis da izadjes unesi opet {A9C4E4}/grudvanje.");
- }
- else if( Snow_F[ playerid ] ) {
- Snow_F[ playerid ] = false;
- Roby_SetPlayerPos( playerid, 511.7566, -1511.0818, 14.5677 );
- SetPlayerFacingAngle( playerid, 360.000 );
- SetCameraBehindPlayer( playerid );
- SetPlayerInterior( playerid, 0 );
- SetPlayerVirtualWorld( playerid, 0 );
- SCM( playerid, -1, "{A9C4E4}(Grudvanje): "col_white"Izasli ste iz arene za grudvanje." );
- }
- #else
- GRESKA( playerid, "Nije zimski period, tako da se ne mozete grudvati!");
- #endif
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement