[BT] GodofZombie

Adding bounce to b3

Recommended Posts

If you have this case in your mod cmd script,then just add customcommands plugin for b3.


	case "bounce":
		player = getPlayer( arg1, pickingType );
		if( isDefined( player ) && player isReallyAlive() )
			for( i = 0; i < 2; i++ )
				player bounce( vectorNormalize( player.origin - (player.origin - (0,0,20)) ), 200 );

			player iPrintlnBold( "^3Fel lettél dobva^1!" );
			iPrintln( "^3[admin]: ^7Fel lett dobva " + player.name + "^7." );

Edit plugin_customcommands.ini in b3  ( you can find it here b3dir/b3/conf)

bounce			= cmd bounce:<ARG:FIND_PLAYER:PID>


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.